7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/EnvironmentState.h>
9#include <aws/appconfig/model/Monitor.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
38 template <
typename ApplicationIdT = Aws::String>
40 m_applicationIdHasBeenSet =
true;
41 m_applicationId = std::forward<ApplicationIdT>(value);
43 template <
typename ApplicationIdT = Aws::String>
56 template <
typename IdT = Aws::String>
58 m_idHasBeenSet =
true;
59 m_id = std::forward<IdT>(value);
61 template <
typename IdT = Aws::String>
63 SetId(std::forward<IdT>(value));
74 template <
typename NameT = Aws::String>
76 m_nameHasBeenSet =
true;
77 m_name = std::forward<NameT>(value);
79 template <
typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
92 template <
typename DescriptionT = Aws::String>
94 m_descriptionHasBeenSet =
true;
95 m_description = std::forward<DescriptionT>(value);
97 template <
typename DescriptionT = Aws::String>
113 m_stateHasBeenSet =
true;
128 template <
typename MonitorsT = Aws::Vector<Monitor>>
130 m_monitorsHasBeenSet =
true;
131 m_monitors = std::forward<MonitorsT>(value);
133 template <
typename MonitorsT = Aws::Vector<Monitor>>
138 template <
typename MonitorsT = Monitor>
140 m_monitorsHasBeenSet =
true;
141 m_monitors.emplace_back(std::forward<MonitorsT>(value));
150 template <
typename RequestIdT = Aws::String>
152 m_requestIdHasBeenSet =
true;
153 m_requestId = std::forward<RequestIdT>(value);
155 template <
typename RequestIdT = Aws::String>
175 bool m_applicationIdHasBeenSet =
false;
176 bool m_idHasBeenSet =
false;
177 bool m_nameHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
179 bool m_stateHasBeenSet =
false;
180 bool m_monitorsHasBeenSet =
false;
181 bool m_requestIdHasBeenSet =
false;
Environment & WithName(NameT &&value)
void SetMonitors(MonitorsT &&value)
const Aws::String & GetRequestId() const
AWS_APPCONFIG_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
bool ApplicationIdHasBeenSet() const
bool StateHasBeenSet() const
Environment & WithRequestId(RequestIdT &&value)
bool IdHasBeenSet() const
void SetApplicationId(ApplicationIdT &&value)
const Aws::String & GetDescription() const
Environment & WithId(IdT &&value)
AWS_APPCONFIG_API Environment()=default
Environment & WithMonitors(MonitorsT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
const Aws::Vector< Monitor > & GetMonitors() const
Environment & WithApplicationId(ApplicationIdT &&value)
Environment & WithDescription(DescriptionT &&value)
bool MonitorsHasBeenSet() const
const Aws::String & GetApplicationId() const
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
bool DescriptionHasBeenSet() const
AWS_APPCONFIG_API Environment(Aws::Utils::Json::JsonView jsonValue)
void SetState(EnvironmentState value)
bool RequestIdHasBeenSet() const
const Aws::String & GetId() const
bool NameHasBeenSet() const
void SetRequestId(RequestIdT &&value)
Environment & WithState(EnvironmentState value)
Environment & AddMonitors(MonitorsT &&value)
EnvironmentState GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue