AWS SDK for C++  1.9.66
AWS SDK for C++
CreateDatasetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Personalize
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateDatasetGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline CreateDatasetGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline CreateDatasetGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline CreateDatasetGroupRequest& WithName(const char* value) { SetName(value); return *this;}
76 
77 
83  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
84 
90  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
91 
97  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
98 
104  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
105 
111  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
112 
118  inline CreateDatasetGroupRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
119 
125  inline CreateDatasetGroupRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
126 
132  inline CreateDatasetGroupRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
133 
134 
139  inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
140 
145  inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
146 
151  inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
152 
157  inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
158 
163  inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
164 
169  inline CreateDatasetGroupRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
170 
175  inline CreateDatasetGroupRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
176 
181  inline CreateDatasetGroupRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
182 
183  private:
184 
185  Aws::String m_name;
186  bool m_nameHasBeenSet;
187 
188  Aws::String m_roleArn;
189  bool m_roleArnHasBeenSet;
190 
191  Aws::String m_kmsKeyArn;
192  bool m_kmsKeyArnHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace Personalize
197 } // namespace Aws
Aws::Personalize::Model::CreateDatasetGroupRequest::WithName
CreateDatasetGroupRequest & WithName(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:70
PersonalizeRequest.h
Aws::Personalize::Model::CreateDatasetGroupRequest::WithRoleArn
CreateDatasetGroupRequest & WithRoleArn(const char *value)
Definition: CreateDatasetGroupRequest.h:132
Aws::Personalize::Model::CreateDatasetGroupRequest::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: CreateDatasetGroupRequest.h:163
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:181
Aws::Personalize::Model::CreateDatasetGroupRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:45
Aws::Personalize::Model::CreateDatasetGroupRequest::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:151
Aws::Personalize::Model::CreateDatasetGroupRequest::WithRoleArn
CreateDatasetGroupRequest & WithRoleArn(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:125
Aws::Personalize::Model::CreateDatasetGroupRequest::WithRoleArn
CreateDatasetGroupRequest & WithRoleArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:118
Aws::Personalize::Model::CreateDatasetGroupRequest::WithName
CreateDatasetGroupRequest & WithName(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:65
Aws::Personalize::Model::CreateDatasetGroupRequest::WithKmsKeyArn
CreateDatasetGroupRequest & WithKmsKeyArn(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:175
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:157
Aws::Personalize::Model::CreateDatasetGroupRequest::WithKmsKeyArn
CreateDatasetGroupRequest & WithKmsKeyArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:169
Aws::Personalize::Model::CreateDatasetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDatasetGroupRequest.h:30
Aws::Personalize::Model::CreateDatasetGroupRequest::KmsKeyArnHasBeenSet
bool KmsKeyArnHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:145
Aws::Personalize::Model::CreateDatasetGroupRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateDatasetGroupRequest.h:83
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:60
Aws::Personalize::Model::CreateDatasetGroupRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateDatasetGroupRequest.h:111
Aws::Personalize::Model::CreateDatasetGroupRequest::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: CreateDatasetGroupRequest.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CreateDatasetGroupRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:55
Aws::Personalize::Model::CreateDatasetGroupRequest
Definition: CreateDatasetGroupRequest.h:22
Aws::Personalize::Model::CreateDatasetGroupRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateDatasetGroupRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:97
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateDatasetGroupRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:104
Aws::Personalize::Model::CreateDatasetGroupRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:50
Aws::Personalize::Model::CreateDatasetGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Personalize::Model::CreateDatasetGroupRequest::GetName
const Aws::String & GetName() const
Definition: CreateDatasetGroupRequest.h:40
Aws::Personalize::Model::CreateDatasetGroupRequest::WithName
CreateDatasetGroupRequest & WithName(const char *value)
Definition: CreateDatasetGroupRequest.h:75
Aws::Personalize::Model::CreateDatasetGroupRequest::CreateDatasetGroupRequest
CreateDatasetGroupRequest()