AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetCapabilityResult.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/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace B2BI {
27namespace Model {
29 public:
30 AWS_B2BI_API GetCapabilityResult() = default;
33
35
38 inline const Aws::String& GetCapabilityId() const { return m_capabilityId; }
39 template <typename CapabilityIdT = Aws::String>
40 void SetCapabilityId(CapabilityIdT&& value) {
41 m_capabilityIdHasBeenSet = true;
42 m_capabilityId = std::forward<CapabilityIdT>(value);
43 }
44 template <typename CapabilityIdT = Aws::String>
45 GetCapabilityResult& WithCapabilityId(CapabilityIdT&& value) {
46 SetCapabilityId(std::forward<CapabilityIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetCapabilityArn() const { return m_capabilityArn; }
57 template <typename CapabilityArnT = Aws::String>
58 void SetCapabilityArn(CapabilityArnT&& value) {
59 m_capabilityArnHasBeenSet = true;
60 m_capabilityArn = std::forward<CapabilityArnT>(value);
61 }
62 template <typename CapabilityArnT = Aws::String>
63 GetCapabilityResult& WithCapabilityArn(CapabilityArnT&& value) {
64 SetCapabilityArn(std::forward<CapabilityArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
80 GetCapabilityResult& WithName(NameT&& value) {
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
91 inline CapabilityType GetType() const { return m_type; }
92 inline void SetType(CapabilityType value) {
93 m_typeHasBeenSet = true;
94 m_type = value;
95 }
97 SetType(value);
98 return *this;
99 }
101
103
106 inline const CapabilityConfiguration& GetConfiguration() const { return m_configuration; }
107 template <typename ConfigurationT = CapabilityConfiguration>
108 void SetConfiguration(ConfigurationT&& value) {
109 m_configurationHasBeenSet = true;
110 m_configuration = std::forward<ConfigurationT>(value);
111 }
112 template <typename ConfigurationT = CapabilityConfiguration>
113 GetCapabilityResult& WithConfiguration(ConfigurationT&& value) {
114 SetConfiguration(std::forward<ConfigurationT>(value));
115 return *this;
116 }
118
120
125 inline const Aws::Vector<S3Location>& GetInstructionsDocuments() const { return m_instructionsDocuments; }
126 template <typename InstructionsDocumentsT = Aws::Vector<S3Location>>
127 void SetInstructionsDocuments(InstructionsDocumentsT&& value) {
128 m_instructionsDocumentsHasBeenSet = true;
129 m_instructionsDocuments = std::forward<InstructionsDocumentsT>(value);
130 }
131 template <typename InstructionsDocumentsT = Aws::Vector<S3Location>>
132 GetCapabilityResult& WithInstructionsDocuments(InstructionsDocumentsT&& value) {
133 SetInstructionsDocuments(std::forward<InstructionsDocumentsT>(value));
134 return *this;
135 }
136 template <typename InstructionsDocumentsT = S3Location>
137 GetCapabilityResult& AddInstructionsDocuments(InstructionsDocumentsT&& value) {
138 m_instructionsDocumentsHasBeenSet = true;
139 m_instructionsDocuments.emplace_back(std::forward<InstructionsDocumentsT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
149 template <typename CreatedAtT = Aws::Utils::DateTime>
150 void SetCreatedAt(CreatedAtT&& value) {
151 m_createdAtHasBeenSet = true;
152 m_createdAt = std::forward<CreatedAtT>(value);
153 }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
155 GetCapabilityResult& WithCreatedAt(CreatedAtT&& value) {
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
166 template <typename ModifiedAtT = Aws::Utils::DateTime>
167 void SetModifiedAt(ModifiedAtT&& value) {
168 m_modifiedAtHasBeenSet = true;
169 m_modifiedAt = std::forward<ModifiedAtT>(value);
170 }
171 template <typename ModifiedAtT = Aws::Utils::DateTime>
172 GetCapabilityResult& WithModifiedAt(ModifiedAtT&& value) {
173 SetModifiedAt(std::forward<ModifiedAtT>(value));
174 return *this;
175 }
177
179
180 inline const Aws::String& GetRequestId() const { return m_requestId; }
181 template <typename RequestIdT = Aws::String>
182 void SetRequestId(RequestIdT&& value) {
183 m_requestIdHasBeenSet = true;
184 m_requestId = std::forward<RequestIdT>(value);
185 }
186 template <typename RequestIdT = Aws::String>
187 GetCapabilityResult& WithRequestId(RequestIdT&& value) {
188 SetRequestId(std::forward<RequestIdT>(value));
189 return *this;
190 }
192 private:
193 Aws::String m_capabilityId;
194
195 Aws::String m_capabilityArn;
196
197 Aws::String m_name;
198
200
201 CapabilityConfiguration m_configuration;
202
203 Aws::Vector<S3Location> m_instructionsDocuments;
204
205 Aws::Utils::DateTime m_createdAt{};
206
207 Aws::Utils::DateTime m_modifiedAt{};
208
209 Aws::String m_requestId;
210 bool m_capabilityIdHasBeenSet = false;
211 bool m_capabilityArnHasBeenSet = false;
212 bool m_nameHasBeenSet = false;
213 bool m_typeHasBeenSet = false;
214 bool m_configurationHasBeenSet = false;
215 bool m_instructionsDocumentsHasBeenSet = false;
216 bool m_createdAtHasBeenSet = false;
217 bool m_modifiedAtHasBeenSet = false;
218 bool m_requestIdHasBeenSet = false;
219};
220
221} // namespace Model
222} // namespace B2BI
223} // namespace Aws
const Aws::Vector< S3Location > & GetInstructionsDocuments() const
GetCapabilityResult & WithModifiedAt(ModifiedAtT &&value)
AWS_B2BI_API GetCapabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_B2BI_API GetCapabilityResult()=default
GetCapabilityResult & WithConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCapabilityArn(CapabilityArnT &&value)
void SetCapabilityId(CapabilityIdT &&value)
GetCapabilityResult & AddInstructionsDocuments(InstructionsDocumentsT &&value)
const Aws::String & GetCapabilityId() const
GetCapabilityResult & WithRequestId(RequestIdT &&value)
GetCapabilityResult & WithCapabilityId(CapabilityIdT &&value)
const Aws::String & GetCapabilityArn() const
GetCapabilityResult & WithType(CapabilityType value)
GetCapabilityResult & WithCapabilityArn(CapabilityArnT &&value)
void SetInstructionsDocuments(InstructionsDocumentsT &&value)
AWS_B2BI_API GetCapabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCapabilityResult & WithName(NameT &&value)
void SetConfiguration(ConfigurationT &&value)
GetCapabilityResult & WithInstructionsDocuments(InstructionsDocumentsT &&value)
const CapabilityConfiguration & GetConfiguration() const
const Aws::String & GetRequestId() const
GetCapabilityResult & WithCreatedAt(CreatedAtT &&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