AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ParameterSpace.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/StepParameter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DEADLINE_API ParameterSpace() = default;
38 AWS_DEADLINE_API ParameterSpace(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<StepParameter>& GetParameters() const { return m_parameters; }
48 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
49 template<typename ParametersT = Aws::Vector<StepParameter>>
50 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
51 template<typename ParametersT = Aws::Vector<StepParameter>>
52 ParameterSpace& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
53 template<typename ParametersT = StepParameter>
54 ParameterSpace& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
56
58
61 inline const Aws::String& GetCombination() const { return m_combination; }
62 inline bool CombinationHasBeenSet() const { return m_combinationHasBeenSet; }
63 template<typename CombinationT = Aws::String>
64 void SetCombination(CombinationT&& value) { m_combinationHasBeenSet = true; m_combination = std::forward<CombinationT>(value); }
65 template<typename CombinationT = Aws::String>
66 ParameterSpace& WithCombination(CombinationT&& value) { SetCombination(std::forward<CombinationT>(value)); return *this;}
68 private:
69
70 Aws::Vector<StepParameter> m_parameters;
71 bool m_parametersHasBeenSet = false;
72
73 Aws::String m_combination;
74 bool m_combinationHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace deadline
79} // 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