AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
EnvironmentActionSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/ActionParameters.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
31 public:
32 AWS_DATAZONE_API EnvironmentActionSummary() = default;
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDomainId() const { return m_domainId; }
42 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
43 template <typename DomainIdT = Aws::String>
44 void SetDomainId(DomainIdT&& value) {
45 m_domainIdHasBeenSet = true;
46 m_domainId = std::forward<DomainIdT>(value);
47 }
48 template <typename DomainIdT = Aws::String>
50 SetDomainId(std::forward<DomainIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
60 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
61 template <typename EnvironmentIdT = Aws::String>
62 void SetEnvironmentId(EnvironmentIdT&& value) {
63 m_environmentIdHasBeenSet = true;
64 m_environmentId = std::forward<EnvironmentIdT>(value);
65 }
66 template <typename EnvironmentIdT = Aws::String>
68 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetId() const { return m_id; }
78 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
79 template <typename IdT = Aws::String>
80 void SetId(IdT&& value) {
81 m_idHasBeenSet = true;
82 m_id = std::forward<IdT>(value);
83 }
84 template <typename IdT = Aws::String>
86 SetId(std::forward<IdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 template <typename NameT = Aws::String>
98 void SetName(NameT&& value) {
99 m_nameHasBeenSet = true;
100 m_name = std::forward<NameT>(value);
101 }
102 template <typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
105 return *this;
106 }
108
110
113 inline const ActionParameters& GetParameters() const { return m_parameters; }
114 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
115 template <typename ParametersT = ActionParameters>
116 void SetParameters(ParametersT&& value) {
117 m_parametersHasBeenSet = true;
118 m_parameters = std::forward<ParametersT>(value);
119 }
120 template <typename ParametersT = ActionParameters>
122 SetParameters(std::forward<ParametersT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 template <typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) {
135 m_descriptionHasBeenSet = true;
136 m_description = std::forward<DescriptionT>(value);
137 }
138 template <typename DescriptionT = Aws::String>
140 SetDescription(std::forward<DescriptionT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_domainId;
146
147 Aws::String m_environmentId;
148
149 Aws::String m_id;
150
151 Aws::String m_name;
152
153 ActionParameters m_parameters;
154
155 Aws::String m_description;
156 bool m_domainIdHasBeenSet = false;
157 bool m_environmentIdHasBeenSet = false;
158 bool m_idHasBeenSet = false;
159 bool m_nameHasBeenSet = false;
160 bool m_parametersHasBeenSet = false;
161 bool m_descriptionHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace DataZone
166} // namespace Aws
EnvironmentActionSummary & WithParameters(ParametersT &&value)
EnvironmentActionSummary & WithEnvironmentId(EnvironmentIdT &&value)
EnvironmentActionSummary & WithName(NameT &&value)
EnvironmentActionSummary & WithId(IdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API EnvironmentActionSummary()=default
EnvironmentActionSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API EnvironmentActionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API EnvironmentActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentActionSummary & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue