7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/InstancesCount.h>
48 template<
typename StackIdT = Aws::String>
49 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
50 template<
typename StackIdT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
74 template<
typename ArnT = Aws::String>
84 inline void SetLayersCount(
int value) { m_layersCountHasBeenSet =
true; m_layersCount = value; }
94 inline void SetAppsCount(
int value) { m_appsCountHasBeenSet =
true; m_appsCount = value; }
105 template<
typename InstancesCountT = InstancesCount>
106 void SetInstancesCount(InstancesCountT&& value) { m_instancesCountHasBeenSet =
true; m_instancesCount = std::forward<InstancesCountT>(value); }
107 template<
typename InstancesCountT = InstancesCount>
113 bool m_stackIdHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
119 bool m_arnHasBeenSet =
false;
121 int m_layersCount{0};
122 bool m_layersCountHasBeenSet =
false;
125 bool m_appsCountHasBeenSet =
false;
127 InstancesCount m_instancesCount;
128 bool m_instancesCountHasBeenSet =
false;
void SetStackId(StackIdT &&value)
void SetArn(ArnT &&value)
StackSummary & WithLayersCount(int value)
StackSummary & WithAppsCount(int value)
AWS_OPSWORKS_API StackSummary()=default
bool InstancesCountHasBeenSet() const
StackSummary & WithInstancesCount(InstancesCountT &&value)
const Aws::String & GetArn() const
bool StackIdHasBeenSet() const
StackSummary & WithStackId(StackIdT &&value)
AWS_OPSWORKS_API StackSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
void SetLayersCount(int value)
StackSummary & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetStackId() const
bool AppsCountHasBeenSet() const
void SetAppsCount(int value)
const Aws::String & GetName() const
void SetInstancesCount(InstancesCountT &&value)
bool ArnHasBeenSet() const
AWS_OPSWORKS_API StackSummary(Aws::Utils::Json::JsonView jsonValue)
StackSummary & WithArn(ArnT &&value)
const InstancesCount & GetInstancesCount() const
bool LayersCountHasBeenSet() const
int GetLayersCount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue