AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetCapabilityResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/b2bi/model/CapabilityType.h>
10#include <aws/b2bi/model/CapabilityConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/b2bi/model/S3Location.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace B2BI
29{
30namespace Model
31{
33 {
34 public:
35 AWS_B2BI_API GetCapabilityResult() = default;
38
39
41
44 inline const Aws::String& GetCapabilityId() const { return m_capabilityId; }
45 template<typename CapabilityIdT = Aws::String>
46 void SetCapabilityId(CapabilityIdT&& value) { m_capabilityIdHasBeenSet = true; m_capabilityId = std::forward<CapabilityIdT>(value); }
47 template<typename CapabilityIdT = Aws::String>
48 GetCapabilityResult& WithCapabilityId(CapabilityIdT&& value) { SetCapabilityId(std::forward<CapabilityIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetCapabilityArn() const { return m_capabilityArn; }
57 template<typename CapabilityArnT = Aws::String>
58 void SetCapabilityArn(CapabilityArnT&& value) { m_capabilityArnHasBeenSet = true; m_capabilityArn = std::forward<CapabilityArnT>(value); }
59 template<typename CapabilityArnT = Aws::String>
60 GetCapabilityResult& WithCapabilityArn(CapabilityArnT&& value) { SetCapabilityArn(std::forward<CapabilityArnT>(value)); return *this;}
62
64
67 inline const Aws::String& GetName() const { return m_name; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 GetCapabilityResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
79 inline CapabilityType GetType() const { return m_type; }
80 inline void SetType(CapabilityType value) { m_typeHasBeenSet = true; m_type = value; }
81 inline GetCapabilityResult& WithType(CapabilityType value) { SetType(value); return *this;}
83
85
88 inline const CapabilityConfiguration& GetConfiguration() const { return m_configuration; }
89 template<typename ConfigurationT = CapabilityConfiguration>
90 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
91 template<typename ConfigurationT = CapabilityConfiguration>
92 GetCapabilityResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
94
96
101 inline const Aws::Vector<S3Location>& GetInstructionsDocuments() const { return m_instructionsDocuments; }
102 template<typename InstructionsDocumentsT = Aws::Vector<S3Location>>
103 void SetInstructionsDocuments(InstructionsDocumentsT&& value) { m_instructionsDocumentsHasBeenSet = true; m_instructionsDocuments = std::forward<InstructionsDocumentsT>(value); }
104 template<typename InstructionsDocumentsT = Aws::Vector<S3Location>>
105 GetCapabilityResult& WithInstructionsDocuments(InstructionsDocumentsT&& value) { SetInstructionsDocuments(std::forward<InstructionsDocumentsT>(value)); return *this;}
106 template<typename InstructionsDocumentsT = S3Location>
107 GetCapabilityResult& AddInstructionsDocuments(InstructionsDocumentsT&& value) { m_instructionsDocumentsHasBeenSet = true; m_instructionsDocuments.emplace_back(std::forward<InstructionsDocumentsT>(value)); return *this; }
109
111
114 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
115 template<typename CreatedAtT = Aws::Utils::DateTime>
116 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
117 template<typename CreatedAtT = Aws::Utils::DateTime>
118 GetCapabilityResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
126 template<typename ModifiedAtT = Aws::Utils::DateTime>
127 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
128 template<typename ModifiedAtT = Aws::Utils::DateTime>
129 GetCapabilityResult& WithModifiedAt(ModifiedAtT&& value) { SetModifiedAt(std::forward<ModifiedAtT>(value)); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 GetCapabilityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::String m_capabilityId;
143 bool m_capabilityIdHasBeenSet = false;
144
145 Aws::String m_capabilityArn;
146 bool m_capabilityArnHasBeenSet = false;
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
152 bool m_typeHasBeenSet = false;
153
154 CapabilityConfiguration m_configuration;
155 bool m_configurationHasBeenSet = false;
156
157 Aws::Vector<S3Location> m_instructionsDocuments;
158 bool m_instructionsDocumentsHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createdAt{};
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::Utils::DateTime m_modifiedAt{};
164 bool m_modifiedAtHasBeenSet = false;
165
166 Aws::String m_requestId;
167 bool m_requestIdHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace B2BI
172} // 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