AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ImageT = Aws::String>
53 void SetImage(ImageT&& value) { m_imageHasBeenSet = true; m_image = std::forward<ImageT>(value); }
54 template<typename ImageT = Aws::String>
55 ContainerDatasetAction& WithImage(ImageT&& value) { SetImage(std::forward<ImageT>(value)); return *this;}
57
59
65 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
66 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
67 template<typename ExecutionRoleArnT = Aws::String>
68 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
69 template<typename ExecutionRoleArnT = Aws::String>
70 ContainerDatasetAction& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
72
74
78 inline const ResourceConfiguration& GetResourceConfiguration() const { return m_resourceConfiguration; }
79 inline bool ResourceConfigurationHasBeenSet() const { return m_resourceConfigurationHasBeenSet; }
80 template<typename ResourceConfigurationT = ResourceConfiguration>
81 void SetResourceConfiguration(ResourceConfigurationT&& value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration = std::forward<ResourceConfigurationT>(value); }
82 template<typename ResourceConfigurationT = ResourceConfiguration>
83 ContainerDatasetAction& WithResourceConfiguration(ResourceConfigurationT&& value) { SetResourceConfiguration(std::forward<ResourceConfigurationT>(value)); return *this;}
85
87
94 inline const Aws::Vector<Variable>& GetVariables() const { return m_variables; }
95 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
96 template<typename VariablesT = Aws::Vector<Variable>>
97 void SetVariables(VariablesT&& value) { m_variablesHasBeenSet = true; m_variables = std::forward<VariablesT>(value); }
98 template<typename VariablesT = Aws::Vector<Variable>>
99 ContainerDatasetAction& WithVariables(VariablesT&& value) { SetVariables(std::forward<VariablesT>(value)); return *this;}
100 template<typename VariablesT = Variable>
101 ContainerDatasetAction& AddVariables(VariablesT&& value) { m_variablesHasBeenSet = true; m_variables.emplace_back(std::forward<VariablesT>(value)); return *this; }
103 private:
104
105 Aws::String m_image;
106 bool m_imageHasBeenSet = false;
107
108 Aws::String m_executionRoleArn;
109 bool m_executionRoleArnHasBeenSet = false;
110
111 ResourceConfiguration m_resourceConfiguration;
112 bool m_resourceConfigurationHasBeenSet = false;
113
114 Aws::Vector<Variable> m_variables;
115 bool m_variablesHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace IoTAnalytics
120} // namespace Aws
ContainerDatasetAction & AddVariables(VariablesT &&value)
AWS_IOTANALYTICS_API ContainerDatasetAction()=default
AWS_IOTANALYTICS_API ContainerDatasetAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Variable > & GetVariables() const
ContainerDatasetAction & WithVariables(VariablesT &&value)
ContainerDatasetAction & WithResourceConfiguration(ResourceConfigurationT &&value)
ContainerDatasetAction & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetResourceConfiguration(ResourceConfigurationT &&value)
AWS_IOTANALYTICS_API ContainerDatasetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceConfiguration & GetResourceConfiguration() const
ContainerDatasetAction & WithImage(ImageT &&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