AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
51 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
52 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
53 inline UpdateDomainRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
54 inline UpdateDomainRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
55 inline UpdateDomainRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
57
59
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline UpdateDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline UpdateDomainRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline UpdateDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
78 inline const Aws::String& GetDomainExecutionRole() const{ return m_domainExecutionRole; }
79 inline bool DomainExecutionRoleHasBeenSet() const { return m_domainExecutionRoleHasBeenSet; }
80 inline void SetDomainExecutionRole(const Aws::String& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = value; }
81 inline void SetDomainExecutionRole(Aws::String&& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = std::move(value); }
82 inline void SetDomainExecutionRole(const char* value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole.assign(value); }
84 inline UpdateDomainRequest& WithDomainExecutionRole(Aws::String&& value) { SetDomainExecutionRole(std::move(value)); return *this;}
85 inline UpdateDomainRequest& WithDomainExecutionRole(const char* value) { SetDomainExecutionRole(value); return *this;}
87
89
92 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
93 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
94 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
95 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
96 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
97 inline UpdateDomainRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
98 inline UpdateDomainRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
99 inline UpdateDomainRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
101
103
106 inline const Aws::String& GetName() const{ return m_name; }
107 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
108 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
109 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
110 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
111 inline UpdateDomainRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
112 inline UpdateDomainRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
113 inline UpdateDomainRequest& WithName(const char* value) { SetName(value); return *this;}
115
117
121 inline const SingleSignOn& GetSingleSignOn() const{ return m_singleSignOn; }
122 inline bool SingleSignOnHasBeenSet() const { return m_singleSignOnHasBeenSet; }
123 inline void SetSingleSignOn(const SingleSignOn& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = value; }
124 inline void SetSingleSignOn(SingleSignOn&& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = std::move(value); }
125 inline UpdateDomainRequest& WithSingleSignOn(const SingleSignOn& value) { SetSingleSignOn(value); return *this;}
126 inline UpdateDomainRequest& WithSingleSignOn(SingleSignOn&& value) { SetSingleSignOn(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_clientToken;
131 bool m_clientTokenHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 Aws::String m_domainExecutionRole;
137 bool m_domainExecutionRoleHasBeenSet = false;
138
139 Aws::String m_identifier;
140 bool m_identifierHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 SingleSignOn m_singleSignOn;
146 bool m_singleSignOnHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace DataZone
151} // namespace Aws
UpdateDomainRequest & WithClientToken(const Aws::String &value)
UpdateDomainRequest & WithIdentifier(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateDomainRequest & WithName(const Aws::String &value)
UpdateDomainRequest & WithIdentifier(const char *value)
UpdateDomainRequest & WithDescription(Aws::String &&value)
void SetSingleSignOn(const SingleSignOn &value)
UpdateDomainRequest & WithSingleSignOn(const SingleSignOn &value)
UpdateDomainRequest & WithSingleSignOn(SingleSignOn &&value)
UpdateDomainRequest & WithDomainExecutionRole(const char *value)
UpdateDomainRequest & WithClientToken(const char *value)
UpdateDomainRequest & WithDomainExecutionRole(const Aws::String &value)
const Aws::String & GetDomainExecutionRole() const
UpdateDomainRequest & WithName(Aws::String &&value)
UpdateDomainRequest & WithClientToken(Aws::String &&value)
UpdateDomainRequest & WithName(const char *value)
UpdateDomainRequest & WithDescription(const Aws::String &value)
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 & WithDomainExecutionRole(Aws::String &&value)
UpdateDomainRequest & WithDescription(const char *value)
UpdateDomainRequest & WithIdentifier(const Aws::String &value)
void SetDomainExecutionRole(const Aws::String &value)
void SetIdentifier(const Aws::String &value)
void SetClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String