AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const ConfigurableActionTypeAuthorization& GetAuth() const{ return m_auth; }
50 inline bool AuthHasBeenSet() const { return m_authHasBeenSet; }
51 inline void SetAuth(const ConfigurableActionTypeAuthorization& value) { m_authHasBeenSet = true; m_auth = value; }
52 inline void SetAuth(ConfigurableActionTypeAuthorization&& value) { m_authHasBeenSet = true; m_auth = std::move(value); }
54 inline ConfigurableEnvironmentAction& WithAuth(ConfigurableActionTypeAuthorization&& value) { SetAuth(std::move(value)); return *this;}
56
58
61 inline const Aws::Vector<ConfigurableActionParameter>& GetParameters() const{ return m_parameters; }
62 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
63 inline void SetParameters(const Aws::Vector<ConfigurableActionParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
64 inline void SetParameters(Aws::Vector<ConfigurableActionParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
67 inline ConfigurableEnvironmentAction& AddParameters(const ConfigurableActionParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
68 inline ConfigurableEnvironmentAction& AddParameters(ConfigurableActionParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
70
72
75 inline const Aws::String& GetType() const{ return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
78 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
79 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
80 inline ConfigurableEnvironmentAction& WithType(const Aws::String& value) { SetType(value); return *this;}
81 inline ConfigurableEnvironmentAction& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
82 inline ConfigurableEnvironmentAction& WithType(const char* value) { SetType(value); return *this;}
84 private:
85
87 bool m_authHasBeenSet = false;
88
90 bool m_parametersHasBeenSet = false;
91
92 Aws::String m_type;
93 bool m_typeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace DataZone
98} // namespace Aws
AWS_DATAZONE_API ConfigurableEnvironmentAction & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurableEnvironmentAction & WithParameters(Aws::Vector< ConfigurableActionParameter > &&value)
ConfigurableEnvironmentAction & WithAuth(const ConfigurableActionTypeAuthorization &value)
void SetParameters(Aws::Vector< ConfigurableActionParameter > &&value)
const ConfigurableActionTypeAuthorization & GetAuth() const
ConfigurableEnvironmentAction & WithParameters(const Aws::Vector< ConfigurableActionParameter > &value)
const Aws::Vector< ConfigurableActionParameter > & GetParameters() const
ConfigurableEnvironmentAction & AddParameters(ConfigurableActionParameter &&value)
ConfigurableEnvironmentAction & AddParameters(const ConfigurableActionParameter &value)
ConfigurableEnvironmentAction & WithType(const char *value)
ConfigurableEnvironmentAction & WithType(const Aws::String &value)
ConfigurableEnvironmentAction & WithAuth(ConfigurableActionTypeAuthorization &&value)
void SetAuth(const ConfigurableActionTypeAuthorization &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API ConfigurableEnvironmentAction(Aws::Utils::Json::JsonView jsonValue)
void SetAuth(ConfigurableActionTypeAuthorization &&value)
void SetParameters(const Aws::Vector< ConfigurableActionParameter > &value)
ConfigurableEnvironmentAction & WithType(Aws::String &&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