AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateCapabilityResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/CapabilityConfiguration.h>
9#include <aws/b2bi/model/CapabilityType.h>
10#include <aws/b2bi/model/S3Location.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace B2BI {
28namespace Model {
30 public:
31 AWS_B2BI_API CreateCapabilityResult() = default;
34
36
39 inline const Aws::String& GetCapabilityId() const { return m_capabilityId; }
40 template <typename CapabilityIdT = Aws::String>
41 void SetCapabilityId(CapabilityIdT&& value) {
42 m_capabilityIdHasBeenSet = true;
43 m_capabilityId = std::forward<CapabilityIdT>(value);
44 }
45 template <typename CapabilityIdT = Aws::String>
46 CreateCapabilityResult& WithCapabilityId(CapabilityIdT&& value) {
47 SetCapabilityId(std::forward<CapabilityIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetCapabilityArn() const { return m_capabilityArn; }
58 template <typename CapabilityArnT = Aws::String>
59 void SetCapabilityArn(CapabilityArnT&& value) {
60 m_capabilityArnHasBeenSet = true;
61 m_capabilityArn = std::forward<CapabilityArnT>(value);
62 }
63 template <typename CapabilityArnT = Aws::String>
64 CreateCapabilityResult& WithCapabilityArn(CapabilityArnT&& value) {
65 SetCapabilityArn(std::forward<CapabilityArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
92 inline CapabilityType GetType() const { return m_type; }
93 inline void SetType(CapabilityType value) {
94 m_typeHasBeenSet = true;
95 m_type = value;
96 }
98 SetType(value);
99 return *this;
100 }
102
104
107 inline const CapabilityConfiguration& GetConfiguration() const { return m_configuration; }
108 template <typename ConfigurationT = CapabilityConfiguration>
109 void SetConfiguration(ConfigurationT&& value) {
110 m_configurationHasBeenSet = true;
111 m_configuration = std::forward<ConfigurationT>(value);
112 }
113 template <typename ConfigurationT = CapabilityConfiguration>
114 CreateCapabilityResult& WithConfiguration(ConfigurationT&& value) {
115 SetConfiguration(std::forward<ConfigurationT>(value));
116 return *this;
117 }
119
121
126 inline const Aws::Vector<S3Location>& GetInstructionsDocuments() const { return m_instructionsDocuments; }
127 template <typename InstructionsDocumentsT = Aws::Vector<S3Location>>
128 void SetInstructionsDocuments(InstructionsDocumentsT&& value) {
129 m_instructionsDocumentsHasBeenSet = true;
130 m_instructionsDocuments = std::forward<InstructionsDocumentsT>(value);
131 }
132 template <typename InstructionsDocumentsT = Aws::Vector<S3Location>>
133 CreateCapabilityResult& WithInstructionsDocuments(InstructionsDocumentsT&& value) {
134 SetInstructionsDocuments(std::forward<InstructionsDocumentsT>(value));
135 return *this;
136 }
137 template <typename InstructionsDocumentsT = S3Location>
138 CreateCapabilityResult& AddInstructionsDocuments(InstructionsDocumentsT&& value) {
139 m_instructionsDocumentsHasBeenSet = true;
140 m_instructionsDocuments.emplace_back(std::forward<InstructionsDocumentsT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
150 template <typename CreatedAtT = Aws::Utils::DateTime>
151 void SetCreatedAt(CreatedAtT&& value) {
152 m_createdAtHasBeenSet = true;
153 m_createdAt = std::forward<CreatedAtT>(value);
154 }
155 template <typename CreatedAtT = Aws::Utils::DateTime>
157 SetCreatedAt(std::forward<CreatedAtT>(value));
158 return *this;
159 }
161
163
164 inline const Aws::String& GetRequestId() const { return m_requestId; }
165 template <typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) {
167 m_requestIdHasBeenSet = true;
168 m_requestId = std::forward<RequestIdT>(value);
169 }
170 template <typename RequestIdT = Aws::String>
172 SetRequestId(std::forward<RequestIdT>(value));
173 return *this;
174 }
176 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
177
178 private:
179 Aws::String m_capabilityId;
180
181 Aws::String m_capabilityArn;
182
183 Aws::String m_name;
184
186
187 CapabilityConfiguration m_configuration;
188
189 Aws::Vector<S3Location> m_instructionsDocuments;
190
191 Aws::Utils::DateTime m_createdAt{};
192
193 Aws::String m_requestId;
194 Aws::Http::HttpResponseCode m_HttpResponseCode;
195 bool m_capabilityIdHasBeenSet = false;
196 bool m_capabilityArnHasBeenSet = false;
197 bool m_nameHasBeenSet = false;
198 bool m_typeHasBeenSet = false;
199 bool m_configurationHasBeenSet = false;
200 bool m_instructionsDocumentsHasBeenSet = false;
201 bool m_createdAtHasBeenSet = false;
202 bool m_requestIdHasBeenSet = false;
203};
204
205} // namespace Model
206} // namespace B2BI
207} // namespace Aws
const Aws::Vector< S3Location > & GetInstructionsDocuments() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetInstructionsDocuments(InstructionsDocumentsT &&value)
CreateCapabilityResult & WithCapabilityId(CapabilityIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateCapabilityResult & WithCreatedAt(CreatedAtT &&value)
CreateCapabilityResult & WithCapabilityArn(CapabilityArnT &&value)
CreateCapabilityResult & WithInstructionsDocuments(InstructionsDocumentsT &&value)
CreateCapabilityResult & AddInstructionsDocuments(InstructionsDocumentsT &&value)
AWS_B2BI_API CreateCapabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_B2BI_API CreateCapabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCapabilityResult & WithConfiguration(ConfigurationT &&value)
CreateCapabilityResult & WithRequestId(RequestIdT &&value)
AWS_B2BI_API CreateCapabilityResult()=default
const CapabilityConfiguration & GetConfiguration() const
CreateCapabilityResult & WithName(NameT &&value)
CreateCapabilityResult & WithType(CapabilityType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue