AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
UpdateDomainAssociationRequest.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3Request.h>
8#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
9#include <aws/amplifygen3/model/Routing.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AmplifyGen3 {
16namespace Model {
17
21 public:
22 AWS_AMPLIFYGEN3_API UpdateDomainAssociationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainAssociation"; }
29
30 AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAppName() const { return m_appName; }
37 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
38 template <typename AppNameT = Aws::String>
39 void SetAppName(AppNameT&& value) {
40 m_appNameHasBeenSet = true;
41 m_appName = std::forward<AppNameT>(value);
42 }
43 template <typename AppNameT = Aws::String>
45 SetAppName(std::forward<AppNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDomainName() const { return m_domainName; }
55 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
56 template <typename DomainNameT = Aws::String>
57 void SetDomainName(DomainNameT&& value) {
58 m_domainNameHasBeenSet = true;
59 m_domainName = std::forward<DomainNameT>(value);
60 }
61 template <typename DomainNameT = Aws::String>
63 SetDomainName(std::forward<DomainNameT>(value));
64 return *this;
65 }
67
69
72 inline const Routing& GetRouting() const { return m_routing; }
73 inline bool RoutingHasBeenSet() const { return m_routingHasBeenSet; }
74 template <typename RoutingT = Routing>
75 void SetRouting(RoutingT&& value) {
76 m_routingHasBeenSet = true;
77 m_routing = std::forward<RoutingT>(value);
78 }
79 template <typename RoutingT = Routing>
81 SetRouting(std::forward<RoutingT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_appName;
87
88 Aws::String m_domainName;
89
90 Routing m_routing;
91 bool m_appNameHasBeenSet = false;
92 bool m_domainNameHasBeenSet = false;
93 bool m_routingHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace AmplifyGen3
98} // namespace Aws
AWS_AMPLIFYGEN3_API UpdateDomainAssociationRequest()=default
UpdateDomainAssociationRequest & WithDomainName(DomainNameT &&value)
AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override
UpdateDomainAssociationRequest & WithRouting(RoutingT &&value)
UpdateDomainAssociationRequest & WithAppName(AppNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String