AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConstraintResult.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 CreateConstraintResult();
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 CreateConstraintResult& 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 CreateConstraintResult& WithConstraintParameters(Aws::String&& value) { SetConstraintParameters(std::move(value)); return *this;}
58 inline CreateConstraintResult& 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 CreateConstraintResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
69 inline CreateConstraintResult& 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 CreateConstraintResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline CreateConstraintResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline CreateConstraintResult& 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
AWS_SERVICECATALOG_API CreateConstraintResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConstraintResult & WithConstraintParameters(const char *value)
CreateConstraintResult & WithConstraintParameters(Aws::String &&value)
CreateConstraintResult & WithStatus(const Status &value)
CreateConstraintResult & WithRequestId(const Aws::String &value)
CreateConstraintResult & WithRequestId(const char *value)
CreateConstraintResult & WithStatus(Status &&value)
CreateConstraintResult & WithConstraintParameters(const Aws::String &value)
void SetConstraintDetail(const ConstraintDetail &value)
CreateConstraintResult & WithRequestId(Aws::String &&value)
CreateConstraintResult & WithConstraintDetail(ConstraintDetail &&value)
AWS_SERVICECATALOG_API CreateConstraintResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConstraintResult & WithConstraintDetail(const ConstraintDetail &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue