AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ParameterSpace.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/StepParameter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline {
22namespace Model {
23
31 public:
32 AWS_DEADLINE_API ParameterSpace() = default;
33 AWS_DEADLINE_API ParameterSpace(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<StepParameter>& GetParameters() const { return m_parameters; }
42 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
43 template <typename ParametersT = Aws::Vector<StepParameter>>
44 void SetParameters(ParametersT&& value) {
45 m_parametersHasBeenSet = true;
46 m_parameters = std::forward<ParametersT>(value);
47 }
48 template <typename ParametersT = Aws::Vector<StepParameter>>
49 ParameterSpace& WithParameters(ParametersT&& value) {
50 SetParameters(std::forward<ParametersT>(value));
51 return *this;
52 }
53 template <typename ParametersT = StepParameter>
54 ParameterSpace& AddParameters(ParametersT&& value) {
55 m_parametersHasBeenSet = true;
56 m_parameters.emplace_back(std::forward<ParametersT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetCombination() const { return m_combination; }
66 inline bool CombinationHasBeenSet() const { return m_combinationHasBeenSet; }
67 template <typename CombinationT = Aws::String>
68 void SetCombination(CombinationT&& value) {
69 m_combinationHasBeenSet = true;
70 m_combination = std::forward<CombinationT>(value);
71 }
72 template <typename CombinationT = Aws::String>
73 ParameterSpace& WithCombination(CombinationT&& value) {
74 SetCombination(std::forward<CombinationT>(value));
75 return *this;
76 }
78 private:
79 Aws::Vector<StepParameter> m_parameters;
80
81 Aws::String m_combination;
82 bool m_parametersHasBeenSet = false;
83 bool m_combinationHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace deadline
88} // namespace Aws
const Aws::Vector< StepParameter > & GetParameters() const
ParameterSpace & AddParameters(ParametersT &&value)
void SetCombination(CombinationT &&value)
ParameterSpace & WithCombination(CombinationT &&value)
void SetParameters(ParametersT &&value)
const Aws::String & GetCombination() const
ParameterSpace & WithParameters(ParametersT &&value)
AWS_DEADLINE_API ParameterSpace & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API ParameterSpace(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API ParameterSpace()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue