7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
19namespace ServiceCatalog {
30 AWS_SERVICECATALOG_API
ConstraintDetail(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SERVICECATALOG_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename Constra
intIdT = Aws::String>
42 m_constraintIdHasBeenSet =
true;
43 m_constraintId = std::forward<ConstraintIdT>(value);
45 template <
typename Constra
intIdT = Aws::String>
60 template <
typename TypeT = Aws::String>
62 m_typeHasBeenSet =
true;
63 m_type = std::forward<TypeT>(value);
65 template <
typename TypeT = Aws::String>
67 SetType(std::forward<TypeT>(value));
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
96 template <
typename OwnerT = Aws::String>
98 m_ownerHasBeenSet =
true;
99 m_owner = std::forward<OwnerT>(value);
101 template <
typename OwnerT = Aws::String>
103 SetOwner(std::forward<OwnerT>(value));
116 template <
typename ProductIdT = Aws::String>
118 m_productIdHasBeenSet =
true;
119 m_productId = std::forward<ProductIdT>(value);
121 template <
typename ProductIdT = Aws::String>
136 template <
typename PortfolioIdT = Aws::String>
138 m_portfolioIdHasBeenSet =
true;
139 m_portfolioId = std::forward<PortfolioIdT>(value);
141 template <
typename PortfolioIdT = Aws::String>
159 bool m_constraintIdHasBeenSet =
false;
160 bool m_typeHasBeenSet =
false;
161 bool m_descriptionHasBeenSet =
false;
162 bool m_ownerHasBeenSet =
false;
163 bool m_productIdHasBeenSet =
false;
164 bool m_portfolioIdHasBeenSet =
false;
bool ProductIdHasBeenSet() const
void SetOwner(OwnerT &&value)
const Aws::String & GetType() const
void SetConstraintId(ConstraintIdT &&value)
bool DescriptionHasBeenSet() const
void SetType(TypeT &&value)
ConstraintDetail & WithOwner(OwnerT &&value)
bool ConstraintIdHasBeenSet() const
ConstraintDetail & WithPortfolioId(PortfolioIdT &&value)
AWS_SERVICECATALOG_API ConstraintDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool TypeHasBeenSet() const
const Aws::String & GetOwner() const
ConstraintDetail & WithDescription(DescriptionT &&value)
const Aws::String & GetProductId() const
AWS_SERVICECATALOG_API ConstraintDetail()=default
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetPortfolioId() const
ConstraintDetail & WithType(TypeT &&value)
void SetDescription(DescriptionT &&value)
bool OwnerHasBeenSet() const
bool PortfolioIdHasBeenSet() const
ConstraintDetail & WithProductId(ProductIdT &&value)
ConstraintDetail & WithConstraintId(ConstraintIdT &&value)
AWS_SERVICECATALOG_API ConstraintDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetPortfolioId(PortfolioIdT &&value)
const Aws::String & GetConstraintId() const
const Aws::String & GetDescription() const
void SetProductId(ProductIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String