AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace DataZone
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATAZONE_API CreateDomainRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateDomain"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline CreateDomainRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline CreateDomainRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline CreateDomainRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline CreateDomainRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline CreateDomainRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline CreateDomainRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
73 inline const Aws::String& GetDomainExecutionRole() const{ return m_domainExecutionRole; }
74 inline bool DomainExecutionRoleHasBeenSet() const { return m_domainExecutionRoleHasBeenSet; }
75 inline void SetDomainExecutionRole(const Aws::String& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = value; }
76 inline void SetDomainExecutionRole(Aws::String&& value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole = std::move(value); }
77 inline void SetDomainExecutionRole(const char* value) { m_domainExecutionRoleHasBeenSet = true; m_domainExecutionRole.assign(value); }
79 inline CreateDomainRequest& WithDomainExecutionRole(Aws::String&& value) { SetDomainExecutionRole(std::move(value)); return *this;}
80 inline CreateDomainRequest& WithDomainExecutionRole(const char* value) { SetDomainExecutionRole(value); return *this;}
82
84
89 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
90 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
91 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
92 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
93 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
94 inline CreateDomainRequest& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
95 inline CreateDomainRequest& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
96 inline CreateDomainRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 inline CreateDomainRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline CreateDomainRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline CreateDomainRequest& WithName(const char* value) { SetName(value); return *this;}
112
114
117 inline const SingleSignOn& GetSingleSignOn() const{ return m_singleSignOn; }
118 inline bool SingleSignOnHasBeenSet() const { return m_singleSignOnHasBeenSet; }
119 inline void SetSingleSignOn(const SingleSignOn& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = value; }
120 inline void SetSingleSignOn(SingleSignOn&& value) { m_singleSignOnHasBeenSet = true; m_singleSignOn = std::move(value); }
121 inline CreateDomainRequest& WithSingleSignOn(const SingleSignOn& value) { SetSingleSignOn(value); return *this;}
122 inline CreateDomainRequest& WithSingleSignOn(SingleSignOn&& value) { SetSingleSignOn(std::move(value)); return *this;}
124
126
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
132 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
133 inline CreateDomainRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
134 inline CreateDomainRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
135 inline CreateDomainRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
136 inline CreateDomainRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
137 inline CreateDomainRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
138 inline CreateDomainRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
139 inline CreateDomainRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
140 inline CreateDomainRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
141 inline CreateDomainRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
143 private:
144
145 Aws::String m_clientToken;
146 bool m_clientTokenHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::String m_domainExecutionRole;
152 bool m_domainExecutionRoleHasBeenSet = false;
153
154 Aws::String m_kmsKeyIdentifier;
155 bool m_kmsKeyIdentifierHasBeenSet = false;
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 SingleSignOn m_singleSignOn;
161 bool m_singleSignOnHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace DataZone
169} // namespace Aws
CreateDomainRequest & AddTags(const char *key, Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetSingleSignOn(const SingleSignOn &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainRequest & WithDescription(Aws::String &&value)
CreateDomainRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDomainRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDomainRequest & WithName(Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateDomainRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDomainRequest & WithKmsKeyIdentifier(const Aws::String &value)
void SetDomainExecutionRole(const Aws::String &value)
const Aws::String & GetDomainExecutionRole() const
CreateDomainRequest & WithDomainExecutionRole(const char *value)
CreateDomainRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDomainRequest & WithDomainExecutionRole(Aws::String &&value)
CreateDomainRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
CreateDomainRequest & WithDomainExecutionRole(const Aws::String &value)
CreateDomainRequest & WithName(const char *value)
CreateDomainRequest & WithKmsKeyIdentifier(Aws::String &&value)
const Aws::String & GetKmsKeyIdentifier() const
CreateDomainRequest & WithDescription(const char *value)
CreateDomainRequest & AddTags(const char *key, const char *value)
CreateDomainRequest & AddTags(Aws::String &&key, const char *value)
CreateDomainRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetKmsKeyIdentifier(const Aws::String &value)
CreateDomainRequest & WithClientToken(const Aws::String &value)
CreateDomainRequest & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDomainRequest & WithDescription(const Aws::String &value)
CreateDomainRequest & WithClientToken(const char *value)
CreateDomainRequest & WithSingleSignOn(SingleSignOn &&value)
CreateDomainRequest & WithKmsKeyIdentifier(const char *value)
CreateDomainRequest & WithSingleSignOn(const SingleSignOn &value)
CreateDomainRequest & WithClientToken(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String