AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeConstraintResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ServiceCatalog
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const ConstraintDetail& GetConstraintDetail() const{ return m_constraintDetail; }
41 
45  inline void SetConstraintDetail(const ConstraintDetail& value) { m_constraintDetail = value; }
46 
50  inline void SetConstraintDetail(ConstraintDetail&& value) { m_constraintDetail = std::move(value); }
51 
55  inline DescribeConstraintResult& WithConstraintDetail(const ConstraintDetail& value) { SetConstraintDetail(value); return *this;}
56 
60  inline DescribeConstraintResult& WithConstraintDetail(ConstraintDetail&& value) { SetConstraintDetail(std::move(value)); return *this;}
61 
62 
66  inline const Aws::String& GetConstraintParameters() const{ return m_constraintParameters; }
67 
71  inline void SetConstraintParameters(const Aws::String& value) { m_constraintParameters = value; }
72 
76  inline void SetConstraintParameters(Aws::String&& value) { m_constraintParameters = std::move(value); }
77 
81  inline void SetConstraintParameters(const char* value) { m_constraintParameters.assign(value); }
82 
86  inline DescribeConstraintResult& WithConstraintParameters(const Aws::String& value) { SetConstraintParameters(value); return *this;}
87 
91  inline DescribeConstraintResult& WithConstraintParameters(Aws::String&& value) { SetConstraintParameters(std::move(value)); return *this;}
92 
96  inline DescribeConstraintResult& WithConstraintParameters(const char* value) { SetConstraintParameters(value); return *this;}
97 
98 
102  inline const Status& GetStatus() const{ return m_status; }
103 
107  inline void SetStatus(const Status& value) { m_status = value; }
108 
112  inline void SetStatus(Status&& value) { m_status = std::move(value); }
113 
117  inline DescribeConstraintResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
118 
122  inline DescribeConstraintResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
123 
124  private:
125 
126  ConstraintDetail m_constraintDetail;
127 
128  Aws::String m_constraintParameters;
129 
130  Status m_status;
131  };
132 
133 } // namespace Model
134 } // namespace ServiceCatalog
135 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::DescribeConstraintResult::SetStatus
void SetStatus(const Status &value)
Definition: DescribeConstraintResult.h:107
Aws::ServiceCatalog::Model::DescribeConstraintResult::WithConstraintParameters
DescribeConstraintResult & WithConstraintParameters(const char *value)
Definition: DescribeConstraintResult.h:96
Aws::ServiceCatalog::Model::DescribeConstraintResult::operator=
DescribeConstraintResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::DescribeConstraintResult::SetConstraintParameters
void SetConstraintParameters(const Aws::String &value)
Definition: DescribeConstraintResult.h:71
Status.h
Aws::ServiceCatalog::Model::DescribeConstraintResult::SetConstraintDetail
void SetConstraintDetail(const ConstraintDetail &value)
Definition: DescribeConstraintResult.h:45
Aws::ServiceCatalog::Model::DescribeConstraintResult::WithStatus
DescribeConstraintResult & WithStatus(const Status &value)
Definition: DescribeConstraintResult.h:117
Aws::ServiceCatalog::Model::DescribeConstraintResult::GetConstraintDetail
const ConstraintDetail & GetConstraintDetail() const
Definition: DescribeConstraintResult.h:40
Aws::ServiceCatalog::Model::DescribeConstraintResult::WithStatus
DescribeConstraintResult & WithStatus(Status &&value)
Definition: DescribeConstraintResult.h:122
Aws::ServiceCatalog::Model::DescribeConstraintResult::WithConstraintDetail
DescribeConstraintResult & WithConstraintDetail(const ConstraintDetail &value)
Definition: DescribeConstraintResult.h:55
Aws::ServiceCatalog::Model::DescribeConstraintResult::SetConstraintDetail
void SetConstraintDetail(ConstraintDetail &&value)
Definition: DescribeConstraintResult.h:50
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribeConstraintResult::DescribeConstraintResult
DescribeConstraintResult()
Aws::ServiceCatalog::Model::DescribeConstraintResult::SetStatus
void SetStatus(Status &&value)
Definition: DescribeConstraintResult.h:112
ConstraintDetail.h
Aws::ServiceCatalog::Model::ConstraintDetail
Definition: ConstraintDetail.h:32
Aws::ServiceCatalog::Model::Status
Status
Definition: Status.h:17
Aws::ServiceCatalog::Model::DescribeConstraintResult::WithConstraintParameters
DescribeConstraintResult & WithConstraintParameters(Aws::String &&value)
Definition: DescribeConstraintResult.h:91
Aws::ServiceCatalog::Model::DescribeConstraintResult::SetConstraintParameters
void SetConstraintParameters(Aws::String &&value)
Definition: DescribeConstraintResult.h:76
Aws::ServiceCatalog::Model::DescribeConstraintResult::DescribeConstraintResult
DescribeConstraintResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::ServiceCatalog::Model::DescribeConstraintResult::WithConstraintParameters
DescribeConstraintResult & WithConstraintParameters(const Aws::String &value)
Definition: DescribeConstraintResult.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::DescribeConstraintResult::GetConstraintParameters
const Aws::String & GetConstraintParameters() const
Definition: DescribeConstraintResult.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::DescribeConstraintResult
Definition: DescribeConstraintResult.h:30
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribeConstraintResult::WithConstraintDetail
DescribeConstraintResult & WithConstraintDetail(ConstraintDetail &&value)
Definition: DescribeConstraintResult.h:60
Aws::ServiceCatalog::Model::DescribeConstraintResult::SetConstraintParameters
void SetConstraintParameters(const char *value)
Definition: DescribeConstraintResult.h:81
Aws::ServiceCatalog::Model::DescribeConstraintResult::GetStatus
const Status & GetStatus() const
Definition: DescribeConstraintResult.h:102