AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerDatasetAction.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/ResourceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotanalytics/model/Variable.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTAnalytics
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTANALYTICS_API ContainerDatasetAction();
39 AWS_IOTANALYTICS_API ContainerDatasetAction(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetImage() const{ return m_image; }
51 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
52 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
53 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
54 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
55 inline ContainerDatasetAction& WithImage(const Aws::String& value) { SetImage(value); return *this;}
56 inline ContainerDatasetAction& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
57 inline ContainerDatasetAction& WithImage(const char* value) { SetImage(value); return *this;}
59
61
67 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
68 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
69 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
70 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
71 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
72 inline ContainerDatasetAction& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
73 inline ContainerDatasetAction& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
74 inline ContainerDatasetAction& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
76
78
82 inline const ResourceConfiguration& GetResourceConfiguration() const{ return m_resourceConfiguration; }
83 inline bool ResourceConfigurationHasBeenSet() const { return m_resourceConfigurationHasBeenSet; }
84 inline void SetResourceConfiguration(const ResourceConfiguration& value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration = value; }
85 inline void SetResourceConfiguration(ResourceConfiguration&& value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration = std::move(value); }
89
91
98 inline const Aws::Vector<Variable>& GetVariables() const{ return m_variables; }
99 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
100 inline void SetVariables(const Aws::Vector<Variable>& value) { m_variablesHasBeenSet = true; m_variables = value; }
101 inline void SetVariables(Aws::Vector<Variable>&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); }
102 inline ContainerDatasetAction& WithVariables(const Aws::Vector<Variable>& value) { SetVariables(value); return *this;}
103 inline ContainerDatasetAction& WithVariables(Aws::Vector<Variable>&& value) { SetVariables(std::move(value)); return *this;}
104 inline ContainerDatasetAction& AddVariables(const Variable& value) { m_variablesHasBeenSet = true; m_variables.push_back(value); return *this; }
105 inline ContainerDatasetAction& AddVariables(Variable&& value) { m_variablesHasBeenSet = true; m_variables.push_back(std::move(value)); return *this; }
107 private:
108
109 Aws::String m_image;
110 bool m_imageHasBeenSet = false;
111
112 Aws::String m_executionRoleArn;
113 bool m_executionRoleArnHasBeenSet = false;
114
115 ResourceConfiguration m_resourceConfiguration;
116 bool m_resourceConfigurationHasBeenSet = false;
117
118 Aws::Vector<Variable> m_variables;
119 bool m_variablesHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace IoTAnalytics
124} // namespace Aws
void SetVariables(const Aws::Vector< Variable > &value)
ContainerDatasetAction & WithResourceConfiguration(const ResourceConfiguration &value)
void SetVariables(Aws::Vector< Variable > &&value)
ContainerDatasetAction & WithExecutionRoleArn(const Aws::String &value)
ContainerDatasetAction & WithResourceConfiguration(ResourceConfiguration &&value)
ContainerDatasetAction & AddVariables(const Variable &value)
ContainerDatasetAction & WithExecutionRoleArn(const char *value)
ContainerDatasetAction & WithImage(Aws::String &&value)
ContainerDatasetAction & WithExecutionRoleArn(Aws::String &&value)
ContainerDatasetAction & WithImage(const Aws::String &value)
AWS_IOTANALYTICS_API ContainerDatasetAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerDatasetAction & AddVariables(Variable &&value)
ContainerDatasetAction & WithVariables(Aws::Vector< Variable > &&value)
ContainerDatasetAction & WithImage(const char *value)
const Aws::Vector< Variable > & GetVariables() const
ContainerDatasetAction & WithVariables(const Aws::Vector< Variable > &value)
void SetResourceConfiguration(const ResourceConfiguration &value)
AWS_IOTANALYTICS_API ContainerDatasetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceConfiguration & GetResourceConfiguration() const
void SetResourceConfiguration(ResourceConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue