7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/model/KeyValuePair.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
62 template<
typename TypeT = Aws::String>
63 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
64 template<
typename TypeT = Aws::String>
77 template<
typename StatusT = Aws::String>
78 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
79 template<
typename StatusT = Aws::String>
96 template<
typename DetailsT = Aws::Vector<KeyValuePair>>
97 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
98 template<
typename DetailsT = Aws::Vector<KeyValuePair>>
100 template<
typename DetailsT = KeyValuePair>
101 Attachment&
AddDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details.emplace_back(std::forward<DetailsT>(value));
return *
this; }
106 bool m_idHasBeenSet =
false;
109 bool m_typeHasBeenSet =
false;
112 bool m_statusHasBeenSet =
false;
115 bool m_detailsHasBeenSet =
false;
AWS_ECS_API Attachment(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
Attachment & WithId(IdT &&value)
bool DetailsHasBeenSet() const
void SetType(TypeT &&value)
AWS_ECS_API Attachment()=default
bool TypeHasBeenSet() const
Attachment & WithDetails(DetailsT &&value)
Attachment & WithStatus(StatusT &&value)
void SetDetails(DetailsT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetType() const
const Aws::Vector< KeyValuePair > & GetDetails() const
const Aws::String & GetStatus() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API Attachment & operator=(Aws::Utils::Json::JsonView jsonValue)
Attachment & AddDetails(DetailsT &&value)
Attachment & WithType(TypeT &&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