AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConstraintDetail.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ServiceCatalog
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SERVICECATALOG_API ConstraintDetail() = default;
35 AWS_SERVICECATALOG_API ConstraintDetail(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SERVICECATALOG_API ConstraintDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetConstraintId() const { return m_constraintId; }
45 inline bool ConstraintIdHasBeenSet() const { return m_constraintIdHasBeenSet; }
46 template<typename ConstraintIdT = Aws::String>
47 void SetConstraintId(ConstraintIdT&& value) { m_constraintIdHasBeenSet = true; m_constraintId = std::forward<ConstraintIdT>(value); }
48 template<typename ConstraintIdT = Aws::String>
49 ConstraintDetail& WithConstraintId(ConstraintIdT&& value) { SetConstraintId(std::forward<ConstraintIdT>(value)); return *this;}
51
53
58 inline const Aws::String& GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 template<typename TypeT = Aws::String>
61 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
62 template<typename TypeT = Aws::String>
63 ConstraintDetail& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 ConstraintDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetOwner() const { return m_owner; }
83 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
84 template<typename OwnerT = Aws::String>
85 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
86 template<typename OwnerT = Aws::String>
87 ConstraintDetail& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
89
91
96 inline const Aws::String& GetProductId() const { return m_productId; }
97 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
98 template<typename ProductIdT = Aws::String>
99 void SetProductId(ProductIdT&& value) { m_productIdHasBeenSet = true; m_productId = std::forward<ProductIdT>(value); }
100 template<typename ProductIdT = Aws::String>
101 ConstraintDetail& WithProductId(ProductIdT&& value) { SetProductId(std::forward<ProductIdT>(value)); return *this;}
103
105
110 inline const Aws::String& GetPortfolioId() const { return m_portfolioId; }
111 inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
112 template<typename PortfolioIdT = Aws::String>
113 void SetPortfolioId(PortfolioIdT&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::forward<PortfolioIdT>(value); }
114 template<typename PortfolioIdT = Aws::String>
115 ConstraintDetail& WithPortfolioId(PortfolioIdT&& value) { SetPortfolioId(std::forward<PortfolioIdT>(value)); return *this;}
117 private:
118
119 Aws::String m_constraintId;
120 bool m_constraintIdHasBeenSet = false;
121
122 Aws::String m_type;
123 bool m_typeHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::String m_owner;
129 bool m_ownerHasBeenSet = false;
130
131 Aws::String m_productId;
132 bool m_productIdHasBeenSet = false;
133
134 Aws::String m_portfolioId;
135 bool m_portfolioIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace ServiceCatalog
140} // namespace Aws
AWS_SERVICECATALOG_API ConstraintDetail(Aws::Utils::Json::JsonView jsonValue)
ConstraintDetail & WithOwner(OwnerT &&value)
ConstraintDetail & WithPortfolioId(PortfolioIdT &&value)
AWS_SERVICECATALOG_API ConstraintDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ConstraintDetail & WithDescription(DescriptionT &&value)
AWS_SERVICECATALOG_API ConstraintDetail()=default
ConstraintDetail & WithType(TypeT &&value)
ConstraintDetail & WithProductId(ProductIdT &&value)
ConstraintDetail & WithConstraintId(ConstraintIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue