AWS SDK for C++  1.9.129
AWS SDK for C++
CreateDatasetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <aws/forecast/model/Tag.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace ForecastService
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "CreateDatasetGroup"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetDatasetGroupName() const{ return m_datasetGroupName; }
44 
48  inline bool DatasetGroupNameHasBeenSet() const { return m_datasetGroupNameHasBeenSet; }
49 
53  inline void SetDatasetGroupName(const Aws::String& value) { m_datasetGroupNameHasBeenSet = true; m_datasetGroupName = value; }
54 
58  inline void SetDatasetGroupName(Aws::String&& value) { m_datasetGroupNameHasBeenSet = true; m_datasetGroupName = std::move(value); }
59 
63  inline void SetDatasetGroupName(const char* value) { m_datasetGroupNameHasBeenSet = true; m_datasetGroupName.assign(value); }
64 
68  inline CreateDatasetGroupRequest& WithDatasetGroupName(const Aws::String& value) { SetDatasetGroupName(value); return *this;}
69 
73  inline CreateDatasetGroupRequest& WithDatasetGroupName(Aws::String&& value) { SetDatasetGroupName(std::move(value)); return *this;}
74 
78  inline CreateDatasetGroupRequest& WithDatasetGroupName(const char* value) { SetDatasetGroupName(value); return *this;}
79 
80 
93  inline const Domain& GetDomain() const{ return m_domain; }
94 
107  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
108 
121  inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
122 
135  inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
136 
149  inline CreateDatasetGroupRequest& WithDomain(const Domain& value) { SetDomain(value); return *this;}
150 
163  inline CreateDatasetGroupRequest& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
164 
165 
170  inline const Aws::Vector<Aws::String>& GetDatasetArns() const{ return m_datasetArns; }
171 
176  inline bool DatasetArnsHasBeenSet() const { return m_datasetArnsHasBeenSet; }
177 
182  inline void SetDatasetArns(const Aws::Vector<Aws::String>& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = value; }
183 
188  inline void SetDatasetArns(Aws::Vector<Aws::String>&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = std::move(value); }
189 
194  inline CreateDatasetGroupRequest& WithDatasetArns(const Aws::Vector<Aws::String>& value) { SetDatasetArns(value); return *this;}
195 
200  inline CreateDatasetGroupRequest& WithDatasetArns(Aws::Vector<Aws::String>&& value) { SetDatasetArns(std::move(value)); return *this;}
201 
206  inline CreateDatasetGroupRequest& AddDatasetArns(const Aws::String& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
207 
212  inline CreateDatasetGroupRequest& AddDatasetArns(Aws::String&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(std::move(value)); return *this; }
213 
218  inline CreateDatasetGroupRequest& AddDatasetArns(const char* value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
219 
220 
242  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
243 
265  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
266 
288  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
289 
311  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
312 
334  inline CreateDatasetGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
335 
357  inline CreateDatasetGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
358 
380  inline CreateDatasetGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
381 
403  inline CreateDatasetGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
404 
405  private:
406 
407  Aws::String m_datasetGroupName;
408  bool m_datasetGroupNameHasBeenSet;
409 
410  Domain m_domain;
411  bool m_domainHasBeenSet;
412 
413  Aws::Vector<Aws::String> m_datasetArns;
414  bool m_datasetArnsHasBeenSet;
415 
416  Aws::Vector<Tag> m_tags;
417  bool m_tagsHasBeenSet;
418  };
419 
420 } // namespace Model
421 } // namespace ForecastService
422 } // namespace Aws
Aws::ForecastService::Model::CreateDatasetGroupRequest::CreateDatasetGroupRequest
CreateDatasetGroupRequest()
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithDatasetGroupName
CreateDatasetGroupRequest & WithDatasetGroupName(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:68
Aws::ForecastService::Model::CreateDatasetGroupRequest::AddDatasetArns
CreateDatasetGroupRequest & AddDatasetArns(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:206
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ForecastService_EXPORTS.h
Aws::ForecastService::Model::CreateDatasetGroupRequest::AddTags
CreateDatasetGroupRequest & AddTags(const Tag &value)
Definition: CreateDatasetGroupRequest.h:380
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithDatasetArns
CreateDatasetGroupRequest & WithDatasetArns(Aws::Vector< Aws::String > &&value)
Definition: CreateDatasetGroupRequest.h:200
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetDatasetArns
void SetDatasetArns(Aws::Vector< Aws::String > &&value)
Definition: CreateDatasetGroupRequest.h:188
Aws::ForecastService::Model::CreateDatasetGroupRequest::GetDomain
const Domain & GetDomain() const
Definition: CreateDatasetGroupRequest.h:93
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetDatasetArns
void SetDatasetArns(const Aws::Vector< Aws::String > &value)
Definition: CreateDatasetGroupRequest.h:182
Aws::ForecastService::Model::CreateDatasetGroupRequest
Definition: CreateDatasetGroupRequest.h:25
Aws::ForecastService::Model::CreateDatasetGroupRequest::DatasetGroupNameHasBeenSet
bool DatasetGroupNameHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:48
AWSVector.h
Aws::ForecastService::Model::CreateDatasetGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ForecastService::Model::CreateDatasetGroupRequest::GetDatasetArns
const Aws::Vector< Aws::String > & GetDatasetArns() const
Definition: CreateDatasetGroupRequest.h:170
Aws::ForecastService::Model::Domain
Domain
Definition: Domain.h:17
Domain.h
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithDatasetGroupName
CreateDatasetGroupRequest & WithDatasetGroupName(const char *value)
Definition: CreateDatasetGroupRequest.h:78
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithTags
CreateDatasetGroupRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDatasetGroupRequest.h:334
Aws::ForecastService::Model::CreateDatasetGroupRequest::AddDatasetArns
CreateDatasetGroupRequest & AddDatasetArns(const char *value)
Definition: CreateDatasetGroupRequest.h:218
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetDatasetGroupName
void SetDatasetGroupName(const char *value)
Definition: CreateDatasetGroupRequest.h:63
Aws::ForecastService::Model::CreateDatasetGroupRequest::AddDatasetArns
CreateDatasetGroupRequest & AddDatasetArns(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:212
ForecastServiceRequest.h
AWSString.h
Aws::ForecastService::Model::CreateDatasetGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:265
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetDatasetGroupName
void SetDatasetGroupName(const Aws::String &value)
Definition: CreateDatasetGroupRequest.h:53
Aws::ForecastService::Model::CreateDatasetGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithDatasetArns
CreateDatasetGroupRequest & WithDatasetArns(const Aws::Vector< Aws::String > &value)
Definition: CreateDatasetGroupRequest.h:194
Aws::ForecastService::Model::CreateDatasetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDatasetGroupRequest.h:33
Tag.h
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithDomain
CreateDatasetGroupRequest & WithDomain(const Domain &value)
Definition: CreateDatasetGroupRequest.h:149
Aws::ForecastService::Model::CreateDatasetGroupRequest::DomainHasBeenSet
bool DomainHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:107
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDatasetGroupRequest.h:288
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::CreateDatasetGroupRequest::AddTags
CreateDatasetGroupRequest & AddTags(Tag &&value)
Definition: CreateDatasetGroupRequest.h:403
Aws::ForecastService::Model::CreateDatasetGroupRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDatasetGroupRequest.h:242
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ForecastService::Model::Tag
Definition: Tag.h:50
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetDomain
void SetDomain(const Domain &value)
Definition: CreateDatasetGroupRequest.h:121
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithDomain
CreateDatasetGroupRequest & WithDomain(Domain &&value)
Definition: CreateDatasetGroupRequest.h:163
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithTags
CreateDatasetGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDatasetGroupRequest.h:357
Aws::ForecastService::Model::CreateDatasetGroupRequest::WithDatasetGroupName
CreateDatasetGroupRequest & WithDatasetGroupName(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:73
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDatasetGroupRequest.h:311
Aws::ForecastService::Model::CreateDatasetGroupRequest::GetDatasetGroupName
const Aws::String & GetDatasetGroupName() const
Definition: CreateDatasetGroupRequest.h:43
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetDatasetGroupName
void SetDatasetGroupName(Aws::String &&value)
Definition: CreateDatasetGroupRequest.h:58
Aws::ForecastService::Model::CreateDatasetGroupRequest::SetDomain
void SetDomain(Domain &&value)
Definition: CreateDatasetGroupRequest.h:135
Aws::ForecastService::Model::CreateDatasetGroupRequest::DatasetArnsHasBeenSet
bool DatasetArnsHasBeenSet() const
Definition: CreateDatasetGroupRequest.h:176