7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appconfig/model/EnvironmentState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/appconfig/model/Monitor.h>
44 template<
typename ApplicationIdT = Aws::String>
45 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet =
true; m_applicationId = std::forward<ApplicationIdT>(value); }
46 template<
typename ApplicationIdT = Aws::String>
56 template<
typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
58 template<
typename IdT = Aws::String>
68 template<
typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
70 template<
typename NameT = Aws::String>
80 template<
typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
82 template<
typename DescriptionT = Aws::String>
104 template<
typename MonitorsT = Aws::Vector<Monitor>>
105 void SetMonitors(MonitorsT&& value) { m_monitorsHasBeenSet =
true; m_monitors = std::forward<MonitorsT>(value); }
106 template<
typename MonitorsT = Aws::Vector<Monitor>>
108 template<
typename MonitorsT = Monitor>
109 Environment&
AddMonitors(MonitorsT&& value) { m_monitorsHasBeenSet =
true; m_monitors.emplace_back(std::forward<MonitorsT>(value));
return *
this; }
116 template<
typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
118 template<
typename RequestIdT = Aws::String>
124 bool m_applicationIdHasBeenSet =
false;
127 bool m_idHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
133 bool m_descriptionHasBeenSet =
false;
136 bool m_stateHasBeenSet =
false;
139 bool m_monitorsHasBeenSet =
false;
142 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