AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateDomainRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/SingleSignOn.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace DataZone
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_DATAZONE_API UpdateDomainRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
37
38 AWS_DATAZONE_API Aws::String SerializePayload() const override;
39
40 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::String& GetClientToken() const { return m_clientToken; }
49 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
50 template<typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<typename ClientTokenT = Aws::String>
53 UpdateDomainRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
55
57
61 inline const Aws::String& GetDescription() const { return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 UpdateDomainRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
74 inline const Aws::String& GetDomainExecutionRole() const { return m_domainExecutionRole; }
75 inline bool DomainExecutionRoleHasBeenSet() const { return m_domainExecutionRoleHasBeenSet; }
76 template<typename DomainExecutionRoleT = Aws::String>
77 void SetDomainExecutionRole(DomainExecutionRoleT&& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = std::forward<DomainExecutionRoleT>(value); }
78 template<typename DomainExecutionRoleT = Aws::String>
79 UpdateDomainRequest& WithDomainExecutionRole(DomainExecutionRoleT&& value) { SetDomainExecutionRole(std::forward<DomainExecutionRoleT>(value)); return *this;}
81
83
86 inline const Aws::String& GetIdentifier() const { return m_identifier; }
87 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
88 template<typename IdentifierT = Aws::String>
89 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
90 template<typename IdentifierT = Aws::String>
91 UpdateDomainRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
93
95
98 inline const Aws::String& GetName() const { return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 template<typename NameT = Aws::String>
101 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
102 template<typename NameT = Aws::String>
103 UpdateDomainRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
105
107
110 inline const Aws::String& GetServiceRole() const { return m_serviceRole; }
111 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
112 template<typename ServiceRoleT = Aws::String>
113 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::forward<ServiceRoleT>(value); }
114 template<typename ServiceRoleT = Aws::String>
115 UpdateDomainRequest& WithServiceRole(ServiceRoleT&& value) { SetServiceRole(std::forward<ServiceRoleT>(value)); return *this;}
117
119
123 inline const SingleSignOn& GetSingleSignOn() const { return m_singleSignOn; }
124 inline bool SingleSignOnHasBeenSet() const { return m_singleSignOnHasBeenSet; }
125 template<typename SingleSignOnT = SingleSignOn>
126 void SetSingleSignOn(SingleSignOnT&& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = std::forward<SingleSignOnT>(value); }
127 template<typename SingleSignOnT = SingleSignOn>
128 UpdateDomainRequest& WithSingleSignOn(SingleSignOnT&& value) { SetSingleSignOn(std::forward<SingleSignOnT>(value)); return *this;}
130 private:
131
133 bool m_clientTokenHasBeenSet = true;
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
138 Aws::String m_domainExecutionRole;
139 bool m_domainExecutionRoleHasBeenSet = false;
140
141 Aws::String m_identifier;
142 bool m_identifierHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::String m_serviceRole;
148 bool m_serviceRoleHasBeenSet = false;
149
150 SingleSignOn m_singleSignOn;
151 bool m_singleSignOnHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace DataZone
156} // namespace Aws
UpdateDomainRequest & WithDomainExecutionRole(DomainExecutionRoleT &&value)
void SetDomainExecutionRole(DomainExecutionRoleT &&value)
UpdateDomainRequest & WithDescription(DescriptionT &&value)
UpdateDomainRequest & WithServiceRole(ServiceRoleT &&value)
UpdateDomainRequest & WithSingleSignOn(SingleSignOnT &&value)
UpdateDomainRequest & WithName(NameT &&value)
AWS_DATAZONE_API UpdateDomainRequest()=default
const Aws::String & GetDomainExecutionRole() const
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateDomainRequest & WithClientToken(ClientTokenT &&value)
UpdateDomainRequest & WithIdentifier(IdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String