AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConstraintId(const Aws::String& value) { m_constraintIdHasBeenSet = true; m_constraintId = value; }
47 inline void SetConstraintId(Aws::String&& value) { m_constraintIdHasBeenSet = true; m_constraintId = std::move(value); }
48 inline void SetConstraintId(const char* value) { m_constraintIdHasBeenSet = true; m_constraintId.assign(value); }
49 inline ConstraintDetail& WithConstraintId(const Aws::String& value) { SetConstraintId(value); return *this;}
50 inline ConstraintDetail& WithConstraintId(Aws::String&& value) { SetConstraintId(std::move(value)); return *this;}
51 inline ConstraintDetail& WithConstraintId(const char* value) { SetConstraintId(value); return *this;}
53
55
60 inline const Aws::String& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
65 inline ConstraintDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
66 inline ConstraintDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
67 inline ConstraintDetail& WithType(const char* value) { SetType(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline ConstraintDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline ConstraintDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline ConstraintDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetOwner() const{ return m_owner; }
89 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
90 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
91 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
92 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
93 inline ConstraintDetail& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
94 inline ConstraintDetail& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
95 inline ConstraintDetail& WithOwner(const char* value) { SetOwner(value); return *this;}
97
99
104 inline const Aws::String& GetProductId() const{ return m_productId; }
105 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
106 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
107 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
108 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
109 inline ConstraintDetail& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
110 inline ConstraintDetail& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
111 inline ConstraintDetail& WithProductId(const char* value) { SetProductId(value); return *this;}
113
115
120 inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
121 inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
122 inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
123 inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
124 inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
125 inline ConstraintDetail& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
126 inline ConstraintDetail& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
127 inline ConstraintDetail& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
129 private:
130
131 Aws::String m_constraintId;
132 bool m_constraintIdHasBeenSet = false;
133
134 Aws::String m_type;
135 bool m_typeHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 Aws::String m_owner;
141 bool m_ownerHasBeenSet = false;
142
143 Aws::String m_productId;
144 bool m_productIdHasBeenSet = false;
145
146 Aws::String m_portfolioId;
147 bool m_portfolioIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace ServiceCatalog
152} // namespace Aws
AWS_SERVICECATALOG_API ConstraintDetail(Aws::Utils::Json::JsonView jsonValue)
void SetPortfolioId(const Aws::String &value)
void SetConstraintId(const Aws::String &value)
void SetOwner(const Aws::String &value)
void SetDescription(const Aws::String &value)
ConstraintDetail & WithDescription(const char *value)
ConstraintDetail & WithPortfolioId(const char *value)
ConstraintDetail & WithType(const Aws::String &value)
ConstraintDetail & WithDescription(Aws::String &&value)
AWS_SERVICECATALOG_API ConstraintDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ConstraintDetail & WithPortfolioId(Aws::String &&value)
ConstraintDetail & WithOwner(const Aws::String &value)
ConstraintDetail & WithConstraintId(const char *value)
ConstraintDetail & WithOwner(const char *value)
void SetProductId(const Aws::String &value)
ConstraintDetail & WithConstraintId(Aws::String &&value)
ConstraintDetail & WithProductId(const Aws::String &value)
ConstraintDetail & WithOwner(Aws::String &&value)
ConstraintDetail & WithPortfolioId(const Aws::String &value)
ConstraintDetail & WithDescription(const Aws::String &value)
ConstraintDetail & WithConstraintId(const Aws::String &value)
ConstraintDetail & WithType(const char *value)
ConstraintDetail & WithType(Aws::String &&value)
ConstraintDetail & WithProductId(Aws::String &&value)
ConstraintDetail & WithProductId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue