AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDatasetGroupRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ForecastService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_FORECASTSERVICE_API UpdateDatasetGroupRequest();
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_FORECASTSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
43 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
44 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
45 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
46 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
47 inline UpdateDatasetGroupRequest& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
48 inline UpdateDatasetGroupRequest& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
49 inline UpdateDatasetGroupRequest& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
51
53
57 inline const Aws::Vector<Aws::String>& GetDatasetArns() const{ return m_datasetArns; }
58 inline bool DatasetArnsHasBeenSet() const { return m_datasetArnsHasBeenSet; }
59 inline void SetDatasetArns(const Aws::Vector<Aws::String>& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = value; }
60 inline void SetDatasetArns(Aws::Vector<Aws::String>&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns = std::move(value); }
62 inline UpdateDatasetGroupRequest& WithDatasetArns(Aws::Vector<Aws::String>&& value) { SetDatasetArns(std::move(value)); return *this;}
63 inline UpdateDatasetGroupRequest& AddDatasetArns(const Aws::String& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
64 inline UpdateDatasetGroupRequest& AddDatasetArns(Aws::String&& value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(std::move(value)); return *this; }
65 inline UpdateDatasetGroupRequest& AddDatasetArns(const char* value) { m_datasetArnsHasBeenSet = true; m_datasetArns.push_back(value); return *this; }
67 private:
68
69 Aws::String m_datasetGroupArn;
70 bool m_datasetGroupArnHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_datasetArns;
73 bool m_datasetArnsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ForecastService
78} // namespace Aws
UpdateDatasetGroupRequest & AddDatasetArns(Aws::String &&value)
void SetDatasetArns(const Aws::Vector< Aws::String > &value)
UpdateDatasetGroupRequest & AddDatasetArns(const char *value)
UpdateDatasetGroupRequest & WithDatasetGroupArn(Aws::String &&value)
AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDatasetGroupRequest & WithDatasetGroupArn(const char *value)
const Aws::Vector< Aws::String > & GetDatasetArns() const
UpdateDatasetGroupRequest & AddDatasetArns(const Aws::String &value)
UpdateDatasetGroupRequest & WithDatasetArns(const Aws::Vector< Aws::String > &value)
UpdateDatasetGroupRequest & WithDatasetArns(Aws::Vector< Aws::String > &&value)
AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override
UpdateDatasetGroupRequest & WithDatasetGroupArn(const Aws::String &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