7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/apigateway/model/MethodSnapshot.h>
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 template<
typename IdT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename CreatedDateT = Aws::Utils::DateTime>
76 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
77 template<
typename CreatedDateT = Aws::Utils::DateTime>
88 template<
typename ApiSummaryT = Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>>
89 void SetApiSummary(ApiSummaryT&& value) { m_apiSummaryHasBeenSet =
true; m_apiSummary = std::forward<ApiSummaryT>(value); }
90 template<
typename ApiSummaryT = Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>>
92 template<
typename ApiSummaryKeyT = Aws::String,
typename ApiSummaryValueT = Aws::Map<Aws::String, MethodSnapshot>>
94 m_apiSummaryHasBeenSet =
true; m_apiSummary.emplace(std::forward<ApiSummaryKeyT>(key), std::forward<ApiSummaryValueT>(value));
return *
this;
102 template<
typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
104 template<
typename RequestIdT = Aws::String>
110 bool m_idHasBeenSet =
false;
113 bool m_descriptionHasBeenSet =
false;
116 bool m_createdDateHasBeenSet =
false;
119 bool m_apiSummaryHasBeenSet =
false;
122 bool m_requestIdHasBeenSet =
false;
Deployment & WithRequestId(RequestIdT &&value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_APIGATEWAY_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ApiSummaryHasBeenSet() const
AWS_APIGATEWAY_API Deployment(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
const Aws::String & GetDescription() const
Deployment & WithApiSummary(ApiSummaryT &&value)
const Aws::String & GetRequestId() const
bool RequestIdHasBeenSet() const
void SetApiSummary(ApiSummaryT &&value)
void SetCreatedDate(CreatedDateT &&value)
Deployment & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
Deployment & AddApiSummary(ApiSummaryKeyT &&key, ApiSummaryValueT &&value)
Deployment & WithCreatedDate(CreatedDateT &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
AWS_APIGATEWAY_API Deployment()=default
void SetRequestId(RequestIdT &&value)
bool CreatedDateHasBeenSet() const
Deployment & WithId(IdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue