AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDatasetGroupRequest.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/ForecastServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/forecast/model/Domain.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/forecast/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ForecastService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_FORECASTSERVICE_API CreateDatasetGroupRequest();
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_FORECASTSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetDatasetGroupName() const{ return m_datasetGroupName; }
45 inline bool DatasetGroupNameHasBeenSet() const { return m_datasetGroupNameHasBeenSet; }
46 inline void SetDatasetGroupName(const Aws::String& value) { m_datasetGroupNameHasBeenSet = true; m_datasetGroupName = value; }
47 inline void SetDatasetGroupName(Aws::String&& value) { m_datasetGroupNameHasBeenSet = true; m_datasetGroupName = std::move(value); }
48 inline void SetDatasetGroupName(const char* value) { m_datasetGroupNameHasBeenSet = true; m_datasetGroupName.assign(value); }
50 inline CreateDatasetGroupRequest& WithDatasetGroupName(Aws::String&& value) { SetDatasetGroupName(std::move(value)); return *this;}
51 inline CreateDatasetGroupRequest& WithDatasetGroupName(const char* value) { SetDatasetGroupName(value); return *this;}
53
55
70 inline const Domain& GetDomain() const{ return m_domain; }
71 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
72 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
73 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
74 inline CreateDatasetGroupRequest& WithDomain(const Domain& value) { SetDomain(value); return *this;}
75 inline CreateDatasetGroupRequest& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
77
79
83 inline const Aws::Vector<Aws::String>& GetDatasetArns() const{ return m_datasetArns; }
84 inline bool DatasetArnsHasBeenSet() const { return m_datasetArnsHasBeenSet; }
85 inline void SetDatasetArns(const Aws::Vector<Aws::String>& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = value; }
86 inline void SetDatasetArns(Aws::Vector<Aws::String>&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = std::move(value); }
88 inline CreateDatasetGroupRequest& WithDatasetArns(Aws::Vector<Aws::String>&& value) { SetDatasetArns(std::move(value)); return *this;}
89 inline CreateDatasetGroupRequest& AddDatasetArns(const Aws::String& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
90 inline CreateDatasetGroupRequest& AddDatasetArns(Aws::String&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(std::move(value)); return *this; }
91 inline CreateDatasetGroupRequest& AddDatasetArns(const char* value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
93
95
116 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
119 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline CreateDatasetGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
121 inline CreateDatasetGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
122 inline CreateDatasetGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
123 inline CreateDatasetGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
125 private:
126
127 Aws::String m_datasetGroupName;
128 bool m_datasetGroupNameHasBeenSet = false;
129
130 Domain m_domain;
131 bool m_domainHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_datasetArns;
134 bool m_datasetArnsHasBeenSet = false;
135
136 Aws::Vector<Tag> m_tags;
137 bool m_tagsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ForecastService
142} // namespace Aws
CreateDatasetGroupRequest & WithDatasetGroupName(const char *value)
CreateDatasetGroupRequest & WithTags(const Aws::Vector< Tag > &value)
void SetDatasetArns(const Aws::Vector< Aws::String > &value)
AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetDatasetArns() const
CreateDatasetGroupRequest & WithDomain(Domain &&value)
CreateDatasetGroupRequest & WithDatasetGroupName(Aws::String &&value)
CreateDatasetGroupRequest & WithDatasetGroupName(const Aws::String &value)
CreateDatasetGroupRequest & AddDatasetArns(const Aws::String &value)
CreateDatasetGroupRequest & WithDatasetArns(const Aws::Vector< Aws::String > &value)
CreateDatasetGroupRequest & WithDatasetArns(Aws::Vector< Aws::String > &&value)
AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override
CreateDatasetGroupRequest & AddDatasetArns(Aws::String &&value)
CreateDatasetGroupRequest & AddDatasetArns(const char *value)
CreateDatasetGroupRequest & WithDomain(const Domain &value)
CreateDatasetGroupRequest & AddTags(const Tag &value)
CreateDatasetGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector