AWS SDK for C++  1.9.102
AWS SDK for C++
ConstraintDetail.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ServiceCatalog
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetConstraintId() const{ return m_constraintId; }
44 
48  inline bool ConstraintIdHasBeenSet() const { return m_constraintIdHasBeenSet; }
49 
53  inline void SetConstraintId(const Aws::String& value) { m_constraintIdHasBeenSet = true; m_constraintId = value; }
54 
58  inline void SetConstraintId(Aws::String&& value) { m_constraintIdHasBeenSet = true; m_constraintId = std::move(value); }
59 
63  inline void SetConstraintId(const char* value) { m_constraintIdHasBeenSet = true; m_constraintId.assign(value); }
64 
68  inline ConstraintDetail& WithConstraintId(const Aws::String& value) { SetConstraintId(value); return *this;}
69 
73  inline ConstraintDetail& WithConstraintId(Aws::String&& value) { SetConstraintId(std::move(value)); return *this;}
74 
78  inline ConstraintDetail& WithConstraintId(const char* value) { SetConstraintId(value); return *this;}
79 
80 
86  inline const Aws::String& GetType() const{ return m_type; }
87 
93  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 
100  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
101 
107  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
108 
114  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
115 
121  inline ConstraintDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
122 
128  inline ConstraintDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
129 
135  inline ConstraintDetail& WithType(const char* value) { SetType(value); return *this;}
136 
137 
141  inline const Aws::String& GetDescription() const{ return m_description; }
142 
146  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
147 
151  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
152 
156  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
157 
161  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
162 
166  inline ConstraintDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
167 
171  inline ConstraintDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
172 
176  inline ConstraintDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
177 
178 
182  inline const Aws::String& GetOwner() const{ return m_owner; }
183 
187  inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
188 
192  inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
193 
197  inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
198 
202  inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
203 
207  inline ConstraintDetail& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
208 
212  inline ConstraintDetail& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
213 
217  inline ConstraintDetail& WithOwner(const char* value) { SetOwner(value); return *this;}
218 
219 
225  inline const Aws::String& GetProductId() const{ return m_productId; }
226 
232  inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
233 
239  inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
240 
246  inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
247 
253  inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
254 
260  inline ConstraintDetail& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
261 
267  inline ConstraintDetail& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
268 
274  inline ConstraintDetail& WithProductId(const char* value) { SetProductId(value); return *this;}
275 
276 
282  inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
283 
289  inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
290 
296  inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
297 
303  inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
304 
310  inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
311 
317  inline ConstraintDetail& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
318 
324  inline ConstraintDetail& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
325 
331  inline ConstraintDetail& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
332 
333  private:
334 
335  Aws::String m_constraintId;
336  bool m_constraintIdHasBeenSet;
337 
338  Aws::String m_type;
339  bool m_typeHasBeenSet;
340 
341  Aws::String m_description;
342  bool m_descriptionHasBeenSet;
343 
344  Aws::String m_owner;
345  bool m_ownerHasBeenSet;
346 
347  Aws::String m_productId;
348  bool m_productIdHasBeenSet;
349 
350  Aws::String m_portfolioId;
351  bool m_portfolioIdHasBeenSet;
352  };
353 
354 } // namespace Model
355 } // namespace ServiceCatalog
356 } // namespace Aws
Aws::ServiceCatalog::Model::ConstraintDetail::SetProductId
void SetProductId(const char *value)
Definition: ConstraintDetail.h:253
Aws::ServiceCatalog::Model::ConstraintDetail::SetProductId
void SetProductId(Aws::String &&value)
Definition: ConstraintDetail.h:246
Aws::ServiceCatalog::Model::ConstraintDetail::ConstraintDetail
ConstraintDetail()
Aws::ServiceCatalog::Model::ConstraintDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceCatalog::Model::ConstraintDetail::WithOwner
ConstraintDetail & WithOwner(Aws::String &&value)
Definition: ConstraintDetail.h:212
Aws::ServiceCatalog::Model::ConstraintDetail::operator=
ConstraintDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::ConstraintDetail::SetType
void SetType(const Aws::String &value)
Definition: ConstraintDetail.h:100
Aws::ServiceCatalog::Model::ConstraintDetail::WithProductId
ConstraintDetail & WithProductId(const char *value)
Definition: ConstraintDetail.h:274
Aws::ServiceCatalog::Model::ConstraintDetail::GetType
const Aws::String & GetType() const
Definition: ConstraintDetail.h:86
Aws::ServiceCatalog::Model::ConstraintDetail::SetDescription
void SetDescription(const Aws::String &value)
Definition: ConstraintDetail.h:151
Aws::ServiceCatalog::Model::ConstraintDetail::OwnerHasBeenSet
bool OwnerHasBeenSet() const
Definition: ConstraintDetail.h:187
Aws::ServiceCatalog::Model::ConstraintDetail::WithConstraintId
ConstraintDetail & WithConstraintId(const Aws::String &value)
Definition: ConstraintDetail.h:68
Aws::ServiceCatalog::Model::ConstraintDetail::SetDescription
void SetDescription(Aws::String &&value)
Definition: ConstraintDetail.h:156
Aws::ServiceCatalog::Model::ConstraintDetail::ConstraintDetail
ConstraintDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::ConstraintDetail::WithOwner
ConstraintDetail & WithOwner(const Aws::String &value)
Definition: ConstraintDetail.h:207
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ConstraintDetail::WithType
ConstraintDetail & WithType(const char *value)
Definition: ConstraintDetail.h:135
Aws::ServiceCatalog::Model::ConstraintDetail::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ConstraintDetail.h:146
Aws::ServiceCatalog::Model::ConstraintDetail::SetPortfolioId
void SetPortfolioId(Aws::String &&value)
Definition: ConstraintDetail.h:303
Aws::ServiceCatalog::Model::ConstraintDetail::WithDescription
ConstraintDetail & WithDescription(const Aws::String &value)
Definition: ConstraintDetail.h:166
Aws::ServiceCatalog::Model::ConstraintDetail::SetType
void SetType(const char *value)
Definition: ConstraintDetail.h:114
Aws::ServiceCatalog::Model::ConstraintDetail::SetDescription
void SetDescription(const char *value)
Definition: ConstraintDetail.h:161
Aws::ServiceCatalog::Model::ConstraintDetail::GetPortfolioId
const Aws::String & GetPortfolioId() const
Definition: ConstraintDetail.h:282
Aws::ServiceCatalog::Model::ConstraintDetail
Definition: ConstraintDetail.h:32
Aws::ServiceCatalog::Model::ConstraintDetail::ConstraintIdHasBeenSet
bool ConstraintIdHasBeenSet() const
Definition: ConstraintDetail.h:48
Aws::ServiceCatalog::Model::ConstraintDetail::GetProductId
const Aws::String & GetProductId() const
Definition: ConstraintDetail.h:225
Aws::ServiceCatalog::Model::ConstraintDetail::WithConstraintId
ConstraintDetail & WithConstraintId(Aws::String &&value)
Definition: ConstraintDetail.h:73
Aws::ServiceCatalog::Model::ConstraintDetail::WithProductId
ConstraintDetail & WithProductId(Aws::String &&value)
Definition: ConstraintDetail.h:267
Aws::ServiceCatalog::Model::ConstraintDetail::SetPortfolioId
void SetPortfolioId(const char *value)
Definition: ConstraintDetail.h:310
Aws::ServiceCatalog::Model::ConstraintDetail::SetOwner
void SetOwner(const Aws::String &value)
Definition: ConstraintDetail.h:192
Aws::ServiceCatalog::Model::ConstraintDetail::WithDescription
ConstraintDetail & WithDescription(const char *value)
Definition: ConstraintDetail.h:176
Aws::ServiceCatalog::Model::ConstraintDetail::SetConstraintId
void SetConstraintId(Aws::String &&value)
Definition: ConstraintDetail.h:58
Aws::ServiceCatalog::Model::ConstraintDetail::SetOwner
void SetOwner(Aws::String &&value)
Definition: ConstraintDetail.h:197
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::ConstraintDetail::SetPortfolioId
void SetPortfolioId(const Aws::String &value)
Definition: ConstraintDetail.h:296
Aws::ServiceCatalog::Model::ConstraintDetail::WithType
ConstraintDetail & WithType(Aws::String &&value)
Definition: ConstraintDetail.h:128
Aws::ServiceCatalog::Model::ConstraintDetail::SetConstraintId
void SetConstraintId(const Aws::String &value)
Definition: ConstraintDetail.h:53
Aws::ServiceCatalog::Model::ConstraintDetail::WithDescription
ConstraintDetail & WithDescription(Aws::String &&value)
Definition: ConstraintDetail.h:171
Aws::ServiceCatalog::Model::ConstraintDetail::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ConstraintDetail.h:93
Aws::ServiceCatalog::Model::ConstraintDetail::GetDescription
const Aws::String & GetDescription() const
Definition: ConstraintDetail.h:141
Aws::ServiceCatalog::Model::ConstraintDetail::GetOwner
const Aws::String & GetOwner() const
Definition: ConstraintDetail.h:182
Aws::ServiceCatalog::Model::ConstraintDetail::WithConstraintId
ConstraintDetail & WithConstraintId(const char *value)
Definition: ConstraintDetail.h:78
Aws::ServiceCatalog::Model::ConstraintDetail::WithPortfolioId
ConstraintDetail & WithPortfolioId(const Aws::String &value)
Definition: ConstraintDetail.h:317
Aws::ServiceCatalog::Model::ConstraintDetail::WithType
ConstraintDetail & WithType(const Aws::String &value)
Definition: ConstraintDetail.h:121
Aws::ServiceCatalog::Model::ConstraintDetail::ProductIdHasBeenSet
bool ProductIdHasBeenSet() const
Definition: ConstraintDetail.h:232
Aws::ServiceCatalog::Model::ConstraintDetail::WithProductId
ConstraintDetail & WithProductId(const Aws::String &value)
Definition: ConstraintDetail.h:260
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ConstraintDetail::SetProductId
void SetProductId(const Aws::String &value)
Definition: ConstraintDetail.h:239
Aws::ServiceCatalog::Model::ConstraintDetail::WithPortfolioId
ConstraintDetail & WithPortfolioId(const char *value)
Definition: ConstraintDetail.h:331
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ConstraintDetail::SetConstraintId
void SetConstraintId(const char *value)
Definition: ConstraintDetail.h:63
Aws::ServiceCatalog::Model::ConstraintDetail::SetType
void SetType(Aws::String &&value)
Definition: ConstraintDetail.h:107
Aws::ServiceCatalog::Model::ConstraintDetail::WithPortfolioId
ConstraintDetail & WithPortfolioId(Aws::String &&value)
Definition: ConstraintDetail.h:324
Aws::ServiceCatalog::Model::ConstraintDetail::WithOwner
ConstraintDetail & WithOwner(const char *value)
Definition: ConstraintDetail.h:217
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ConstraintDetail::PortfolioIdHasBeenSet
bool PortfolioIdHasBeenSet() const
Definition: ConstraintDetail.h:289
Aws::ServiceCatalog::Model::ConstraintDetail::GetConstraintId
const Aws::String & GetConstraintId() const
Definition: ConstraintDetail.h:43
Aws::ServiceCatalog::Model::ConstraintDetail::SetOwner
void SetOwner(const char *value)
Definition: ConstraintDetail.h:202