AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeConstraintResult.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/ConstraintDetail.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicecatalog/model/Status.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ServiceCatalog
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SERVICECATALOG_API DescribeConstraintResult();
35
36
38
41 inline const ConstraintDetail& GetConstraintDetail() const{ return m_constraintDetail; }
42 inline void SetConstraintDetail(const ConstraintDetail& value) { m_constraintDetail = value; }
43 inline void SetConstraintDetail(ConstraintDetail&& value) { m_constraintDetail = std::move(value); }
45 inline DescribeConstraintResult& WithConstraintDetail(ConstraintDetail&& value) { SetConstraintDetail(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetConstraintParameters() const{ return m_constraintParameters; }
53 inline void SetConstraintParameters(const Aws::String& value) { m_constraintParameters = value; }
54 inline void SetConstraintParameters(Aws::String&& value) { m_constraintParameters = std::move(value); }
55 inline void SetConstraintParameters(const char* value) { m_constraintParameters.assign(value); }
57 inline DescribeConstraintResult& WithConstraintParameters(Aws::String&& value) { SetConstraintParameters(std::move(value)); return *this;}
58 inline DescribeConstraintResult& WithConstraintParameters(const char* value) { SetConstraintParameters(value); return *this;}
60
62
65 inline const Status& GetStatus() const{ return m_status; }
66 inline void SetStatus(const Status& value) { m_status = value; }
67 inline void SetStatus(Status&& value) { m_status = std::move(value); }
68 inline DescribeConstraintResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
69 inline DescribeConstraintResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline DescribeConstraintResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline DescribeConstraintResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline DescribeConstraintResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 ConstraintDetail m_constraintDetail;
85
86 Aws::String m_constraintParameters;
87
88 Status m_status;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace ServiceCatalog
95} // namespace Aws
DescribeConstraintResult & WithRequestId(const char *value)
DescribeConstraintResult & WithStatus(const Status &value)
DescribeConstraintResult & WithConstraintDetail(ConstraintDetail &&value)
DescribeConstraintResult & WithConstraintParameters(Aws::String &&value)
DescribeConstraintResult & WithConstraintDetail(const ConstraintDetail &value)
AWS_SERVICECATALOG_API DescribeConstraintResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConstraintResult & WithConstraintParameters(const Aws::String &value)
AWS_SERVICECATALOG_API DescribeConstraintResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConstraintResult & WithConstraintParameters(const char *value)
DescribeConstraintResult & WithStatus(Status &&value)
DescribeConstraintResult & WithRequestId(Aws::String &&value)
DescribeConstraintResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue