7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
15namespace ServiceCatalog
45 template<
typename AcceptLanguageT = Aws::String>
46 void SetAcceptLanguage(AcceptLanguageT&& value) { m_acceptLanguageHasBeenSet =
true; m_acceptLanguage = std::forward<AcceptLanguageT>(value); }
47 template<
typename AcceptLanguageT = Aws::String>
57 template<
typename PortfolioIdT = Aws::String>
58 void SetPortfolioId(PortfolioIdT&& value) { m_portfolioIdHasBeenSet =
true; m_portfolioId = std::forward<PortfolioIdT>(value); }
59 template<
typename PortfolioIdT = Aws::String>
69 template<
typename ProductIdT = Aws::String>
70 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet =
true; m_productId = std::forward<ProductIdT>(value); }
71 template<
typename ProductIdT = Aws::String>
114 template<
typename ParametersT = Aws::String>
115 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
116 template<
typename ParametersT = Aws::String>
129 template<
typename TypeT = Aws::String>
130 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
131 template<
typename TypeT = Aws::String>
141 template<
typename DescriptionT = Aws::String>
142 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
143 template<
typename DescriptionT = Aws::String>
155 template<
typename IdempotencyTokenT = Aws::String>
156 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
157 template<
typename IdempotencyTokenT = Aws::String>
163 bool m_acceptLanguageHasBeenSet =
false;
166 bool m_portfolioIdHasBeenSet =
false;
169 bool m_productIdHasBeenSet =
false;
172 bool m_parametersHasBeenSet =
false;
175 bool m_typeHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
181 bool m_idempotencyTokenHasBeenSet =
true;
virtual const char * GetServiceRequestName() const override
CreateConstraintRequest & WithDescription(DescriptionT &&value)
void SetAcceptLanguage(AcceptLanguageT &&value)
void SetParameters(ParametersT &&value)
AWS_SERVICECATALOG_API CreateConstraintRequest()=default
void SetIdempotencyToken(IdempotencyTokenT &&value)
void SetType(TypeT &&value)
CreateConstraintRequest & WithProductId(ProductIdT &&value)
CreateConstraintRequest & WithPortfolioId(PortfolioIdT &&value)
const Aws::String & GetIdempotencyToken() const
CreateConstraintRequest & WithParameters(ParametersT &&value)
CreateConstraintRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
bool ParametersHasBeenSet() const
const Aws::String & GetAcceptLanguage() const
const Aws::String & GetParameters() const
const Aws::String & GetPortfolioId() const
bool ProductIdHasBeenSet() const
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
bool TypeHasBeenSet() const
CreateConstraintRequest & WithType(TypeT &&value)
void SetPortfolioId(PortfolioIdT &&value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDescription(DescriptionT &&value)
bool PortfolioIdHasBeenSet() const
bool AcceptLanguageHasBeenSet() const
bool IdempotencyTokenHasBeenSet() const
const Aws::String & GetProductId() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
const Aws::String & GetType() const
void SetProductId(ProductIdT &&value)
CreateConstraintRequest & WithAcceptLanguage(AcceptLanguageT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String