AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/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 CreateCapabilityResult() = 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 CreateCapabilityResult& 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 CreateCapabilityResult& 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>
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 CreateCapabilityResult& 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 CreateCapabilityResult& WithInstructionsDocuments(InstructionsDocumentsT&& value) {
133 SetInstructionsDocuments(std::forward<InstructionsDocumentsT>(value));
134 return *this;
135 }
136 template <typename InstructionsDocumentsT = S3Location>
137 CreateCapabilityResult& 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>
156 SetCreatedAt(std::forward<CreatedAtT>(value));
157 return *this;
158 }
160
162
163 inline const Aws::String& GetRequestId() const { return m_requestId; }
164 template <typename RequestIdT = Aws::String>
165 void SetRequestId(RequestIdT&& value) {
166 m_requestIdHasBeenSet = true;
167 m_requestId = std::forward<RequestIdT>(value);
168 }
169 template <typename RequestIdT = Aws::String>
171 SetRequestId(std::forward<RequestIdT>(value));
172 return *this;
173 }
175 private:
176 Aws::String m_capabilityId;
177
178 Aws::String m_capabilityArn;
179
180 Aws::String m_name;
181
183
184 CapabilityConfiguration m_configuration;
185
186 Aws::Vector<S3Location> m_instructionsDocuments;
187
188 Aws::Utils::DateTime m_createdAt{};
189
190 Aws::String m_requestId;
191 bool m_capabilityIdHasBeenSet = false;
192 bool m_capabilityArnHasBeenSet = false;
193 bool m_nameHasBeenSet = false;
194 bool m_typeHasBeenSet = false;
195 bool m_configurationHasBeenSet = false;
196 bool m_instructionsDocumentsHasBeenSet = false;
197 bool m_createdAtHasBeenSet = false;
198 bool m_requestIdHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace B2BI
203} // namespace Aws
const Aws::Vector< S3Location > & GetInstructionsDocuments() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetInstructionsDocuments(InstructionsDocumentsT &&value)
CreateCapabilityResult & WithCapabilityId(CapabilityIdT &&value)
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