AWS SDK for C++  1.9.131
AWS SDK for C++
UpdateDatasetGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ForecastService
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 "UpdateDatasetGroup"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
42 
46  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
47 
51  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
52 
56  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
57 
61  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
62 
66  inline UpdateDatasetGroupRequest& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
67 
71  inline UpdateDatasetGroupRequest& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
72 
76  inline UpdateDatasetGroupRequest& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
77 
78 
83  inline const Aws::Vector<Aws::String>& GetDatasetArns() const{ return m_datasetArns; }
84 
89  inline bool DatasetArnsHasBeenSet() const { return m_datasetArnsHasBeenSet; }
90 
95  inline void SetDatasetArns(const Aws::Vector<Aws::String>& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = value; }
96 
101  inline void SetDatasetArns(Aws::Vector<Aws::String>&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = std::move(value); }
102 
107  inline UpdateDatasetGroupRequest& WithDatasetArns(const Aws::Vector<Aws::String>& value) { SetDatasetArns(value); return *this;}
108 
113  inline UpdateDatasetGroupRequest& WithDatasetArns(Aws::Vector<Aws::String>&& value) { SetDatasetArns(std::move(value)); return *this;}
114 
119  inline UpdateDatasetGroupRequest& AddDatasetArns(const Aws::String& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
120 
125  inline UpdateDatasetGroupRequest& AddDatasetArns(Aws::String&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(std::move(value)); return *this; }
126 
131  inline UpdateDatasetGroupRequest& AddDatasetArns(const char* value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
132 
133  private:
134 
135  Aws::String m_datasetGroupArn;
136  bool m_datasetGroupArnHasBeenSet;
137 
138  Aws::Vector<Aws::String> m_datasetArns;
139  bool m_datasetArnsHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace ForecastService
144 } // namespace Aws
Aws::ForecastService::Model::UpdateDatasetGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ForecastService::Model::UpdateDatasetGroupRequest::AddDatasetArns
UpdateDatasetGroupRequest & AddDatasetArns(const Aws::String &value)
Definition: UpdateDatasetGroupRequest.h:119
Aws::ForecastService::Model::UpdateDatasetGroupRequest::SetDatasetArns
void SetDatasetArns(const Aws::Vector< Aws::String > &value)
Definition: UpdateDatasetGroupRequest.h:95
Aws::ForecastService::Model::UpdateDatasetGroupRequest::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: UpdateDatasetGroupRequest.h:61
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ForecastService::Model::UpdateDatasetGroupRequest::WithDatasetArns
UpdateDatasetGroupRequest & WithDatasetArns(const Aws::Vector< Aws::String > &value)
Definition: UpdateDatasetGroupRequest.h:107
Aws::ForecastService::Model::UpdateDatasetGroupRequest::DatasetArnsHasBeenSet
bool DatasetArnsHasBeenSet() const
Definition: UpdateDatasetGroupRequest.h:89
ForecastService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ForecastService::Model::UpdateDatasetGroupRequest::GetDatasetArns
const Aws::Vector< Aws::String > & GetDatasetArns() const
Definition: UpdateDatasetGroupRequest.h:83
Aws::ForecastService::Model::UpdateDatasetGroupRequest
Definition: UpdateDatasetGroupRequest.h:23
Aws::ForecastService::Model::UpdateDatasetGroupRequest::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: UpdateDatasetGroupRequest.h:51
Aws::ForecastService::Model::UpdateDatasetGroupRequest::WithDatasetGroupArn
UpdateDatasetGroupRequest & WithDatasetGroupArn(const Aws::String &value)
Definition: UpdateDatasetGroupRequest.h:66
AWSVector.h
Aws::ForecastService::Model::UpdateDatasetGroupRequest::SetDatasetArns
void SetDatasetArns(Aws::Vector< Aws::String > &&value)
Definition: UpdateDatasetGroupRequest.h:101
Aws::ForecastService::Model::UpdateDatasetGroupRequest::WithDatasetArns
UpdateDatasetGroupRequest & WithDatasetArns(Aws::Vector< Aws::String > &&value)
Definition: UpdateDatasetGroupRequest.h:113
Aws::ForecastService::Model::UpdateDatasetGroupRequest::AddDatasetArns
UpdateDatasetGroupRequest & AddDatasetArns(const char *value)
Definition: UpdateDatasetGroupRequest.h:131
Aws::ForecastService::Model::UpdateDatasetGroupRequest::UpdateDatasetGroupRequest
UpdateDatasetGroupRequest()
ForecastServiceRequest.h
AWSString.h
Aws::ForecastService::Model::UpdateDatasetGroupRequest::AddDatasetArns
UpdateDatasetGroupRequest & AddDatasetArns(Aws::String &&value)
Definition: UpdateDatasetGroupRequest.h:125
Aws::ForecastService::Model::UpdateDatasetGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ForecastService::Model::UpdateDatasetGroupRequest::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: UpdateDatasetGroupRequest.h:41
Aws::ForecastService::ForecastServiceRequest
Definition: ForecastServiceRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::UpdateDatasetGroupRequest::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: UpdateDatasetGroupRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ForecastService::Model::UpdateDatasetGroupRequest::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: UpdateDatasetGroupRequest.h:56
Aws::ForecastService::Model::UpdateDatasetGroupRequest::WithDatasetGroupArn
UpdateDatasetGroupRequest & WithDatasetGroupArn(Aws::String &&value)
Definition: UpdateDatasetGroupRequest.h:71
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::UpdateDatasetGroupRequest::WithDatasetGroupArn
UpdateDatasetGroupRequest & WithDatasetGroupArn(const char *value)
Definition: UpdateDatasetGroupRequest.h:76
Aws::ForecastService::Model::UpdateDatasetGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDatasetGroupRequest.h:31