AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConfigurableEnvironmentAction.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/ConfigurableActionTypeAuthorization.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/ConfigurableActionParameter.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 DataZone
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DATAZONE_API ConfigurableEnvironmentAction() = default;
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline ConfigurableActionTypeAuthorization GetAuth() const { return m_auth; }
50 inline bool AuthHasBeenSet() const { return m_authHasBeenSet; }
51 inline void SetAuth(ConfigurableActionTypeAuthorization value) { m_authHasBeenSet = true; m_auth = value; }
54
56
59 inline const Aws::Vector<ConfigurableActionParameter>& GetParameters() const { return m_parameters; }
60 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
61 template<typename ParametersT = Aws::Vector<ConfigurableActionParameter>>
62 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
63 template<typename ParametersT = Aws::Vector<ConfigurableActionParameter>>
64 ConfigurableEnvironmentAction& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
65 template<typename ParametersT = ConfigurableActionParameter>
66 ConfigurableEnvironmentAction& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
68
70
73 inline const Aws::String& GetType() const { return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 template<typename TypeT = Aws::String>
76 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
77 template<typename TypeT = Aws::String>
78 ConfigurableEnvironmentAction& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
80 private:
81
83 bool m_authHasBeenSet = false;
84
86 bool m_parametersHasBeenSet = false;
87
88 Aws::String m_type;
89 bool m_typeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DataZone
94} // namespace Aws
ConfigurableEnvironmentAction & WithAuth(ConfigurableActionTypeAuthorization value)
AWS_DATAZONE_API ConfigurableEnvironmentAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ConfigurableEnvironmentAction()=default
ConfigurableEnvironmentAction & AddParameters(ParametersT &&value)
ConfigurableEnvironmentAction & WithType(TypeT &&value)
const Aws::Vector< ConfigurableActionParameter > & GetParameters() const
void SetAuth(ConfigurableActionTypeAuthorization value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API ConfigurableEnvironmentAction(Aws::Utils::Json::JsonView jsonValue)
ConfigurableEnvironmentAction & WithParameters(ParametersT &&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