AWS SDK for C++  1.9.161
AWS SDK for C++
CreateDatasetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Personalize
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "CreateDatasetGroup"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetName() const{ return m_name; }
42 
46  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 
51  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 
56  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 
61  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 
66  inline CreateDatasetGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
67 
71  inline CreateDatasetGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 
76  inline CreateDatasetGroupRequest& WithName(const char* value) { SetName(value); return *this;}
77 
78 
84  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
85 
91  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
92 
98  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
99 
105  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
106 
112  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
113 
119  inline CreateDatasetGroupRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
120 
126  inline CreateDatasetGroupRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
127 
133  inline CreateDatasetGroupRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
134 
135 
140  inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
141 
146  inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
147 
152  inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
153 
158  inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
159 
164  inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
165 
170  inline CreateDatasetGroupRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
171 
176  inline CreateDatasetGroupRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
177 
182  inline CreateDatasetGroupRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
183 
184 
192  inline const Domain& GetDomain() const{ return m_domain; }
193 
201  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
202 
210  inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
211 
219  inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
220 
228  inline CreateDatasetGroupRequest& WithDomain(const Domain& value) { SetDomain(value); return *this;}
229 
237  inline CreateDatasetGroupRequest& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
238 
239  private:
240 
241  Aws::String m_name;
242  bool m_nameHasBeenSet;
243 
244  Aws::String m_roleArn;
245  bool m_roleArnHasBeenSet;
246 
247  Aws::String m_kmsKeyArn;
248  bool m_kmsKeyArnHasBeenSet;
249 
250  Domain m_domain;
251  bool m_domainHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace Personalize
256 } // namespace Aws
Aws::Personalize::Model::CreateDatasetGroupRequest::WithName
CreateDatasetGroupRequest & WithName(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:71
PersonalizeRequest.h
Aws::Personalize::Model::CreateDatasetGroupRequest::WithRoleArn
CreateDatasetGroupRequest & WithRoleArn(const char *value)
Definition: CreateDatasetGroupRequest.h:133
Aws::Personalize::Model::CreateDatasetGroupRequest::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: CreateDatasetGroupRequest.h:164
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Personalize::Model::CreateDatasetGroupRequest::WithKmsKeyArn
CreateDatasetGroupRequest & WithKmsKeyArn(const char *value)
Definition: CreateDatasetGroupRequest.h:182
Aws::Personalize::Model::CreateDatasetGroupRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:46
Aws::Personalize::Model::CreateDatasetGroupRequest::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:152
Aws::Personalize::Model::CreateDatasetGroupRequest::WithRoleArn
CreateDatasetGroupRequest & WithRoleArn(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:126
Aws::Personalize::Model::CreateDatasetGroupRequest::WithRoleArn
CreateDatasetGroupRequest & WithRoleArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:119
Aws::Personalize::Model::CreateDatasetGroupRequest::WithName
CreateDatasetGroupRequest & WithName(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:66
Aws::Personalize::Model::CreateDatasetGroupRequest::WithKmsKeyArn
CreateDatasetGroupRequest & WithKmsKeyArn(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:176
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateDatasetGroupRequest::SetKmsKeyArn
void SetKmsKeyArn(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:158
Aws::Personalize::Model::CreateDatasetGroupRequest::WithKmsKeyArn
CreateDatasetGroupRequest & WithKmsKeyArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:170
Domain.h
Aws::Personalize::Model::CreateDatasetGroupRequest::WithDomain
CreateDatasetGroupRequest & WithDomain(const Domain &value)
Definition: CreateDatasetGroupRequest.h:228
Aws::Personalize::Model::CreateDatasetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDatasetGroupRequest.h:31
Aws::Personalize::Model::CreateDatasetGroupRequest::KmsKeyArnHasBeenSet
bool KmsKeyArnHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:146
Aws::Personalize::Model::CreateDatasetGroupRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateDatasetGroupRequest.h:84
AWSString.h
Aws::Personalize::Model::CreateDatasetGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Personalize::PersonalizeRequest
Definition: PersonalizeRequest.h:17
Aws::Personalize::Model::CreateDatasetGroupRequest::SetName
void SetName(const char *value)
Definition: CreateDatasetGroupRequest.h:61
Aws::Personalize::Model::CreateDatasetGroupRequest::SetDomain
void SetDomain(Domain &&value)
Definition: CreateDatasetGroupRequest.h:219
Aws::Personalize::Model::CreateDatasetGroupRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateDatasetGroupRequest.h:112
Aws::Personalize::Model::CreateDatasetGroupRequest::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: CreateDatasetGroupRequest.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::Domain
Domain
Definition: Domain.h:17
Aws::Personalize::Model::CreateDatasetGroupRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:56
Aws::Personalize::Model::CreateDatasetGroupRequest
Definition: CreateDatasetGroupRequest.h:23
Aws::Personalize::Model::CreateDatasetGroupRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateDatasetGroupRequest::GetDomain
const Domain & GetDomain() const
Definition: CreateDatasetGroupRequest.h:192
Aws::Personalize::Model::CreateDatasetGroupRequest::SetDomain
void SetDomain(const Domain &value)
Definition: CreateDatasetGroupRequest.h:210
Aws::Personalize::Model::CreateDatasetGroupRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:98
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateDatasetGroupRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:105
Aws::Personalize::Model::CreateDatasetGroupRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:51
Aws::Personalize::Model::CreateDatasetGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Personalize::Model::CreateDatasetGroupRequest::GetName
const Aws::String & GetName() const
Definition: CreateDatasetGroupRequest.h:41
Aws::Personalize::Model::CreateDatasetGroupRequest::WithName
CreateDatasetGroupRequest & WithName(const char *value)
Definition: CreateDatasetGroupRequest.h:76
Aws::Personalize::Model::CreateDatasetGroupRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:201
Aws::Personalize::Model::CreateDatasetGroupRequest::WithDomain
CreateDatasetGroupRequest & WithDomain(Domain &&value)
Definition: CreateDatasetGroupRequest.h:237
Aws::Personalize::Model::CreateDatasetGroupRequest::CreateDatasetGroupRequest
CreateDatasetGroupRequest()