AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetCapabilityId() const{ return m_capabilityId; }
45 inline void SetCapabilityId(const Aws::String& value) { m_capabilityId = value; }
46 inline void SetCapabilityId(Aws::String&& value) { m_capabilityId = std::move(value); }
47 inline void SetCapabilityId(const char* value) { m_capabilityId.assign(value); }
48 inline GetCapabilityResult& WithCapabilityId(const Aws::String& value) { SetCapabilityId(value); return *this;}
49 inline GetCapabilityResult& WithCapabilityId(Aws::String&& value) { SetCapabilityId(std::move(value)); return *this;}
50 inline GetCapabilityResult& WithCapabilityId(const char* value) { SetCapabilityId(value); return *this;}
52
54
58 inline const Aws::String& GetCapabilityArn() const{ return m_capabilityArn; }
59 inline void SetCapabilityArn(const Aws::String& value) { m_capabilityArn = value; }
60 inline void SetCapabilityArn(Aws::String&& value) { m_capabilityArn = std::move(value); }
61 inline void SetCapabilityArn(const char* value) { m_capabilityArn.assign(value); }
62 inline GetCapabilityResult& WithCapabilityArn(const Aws::String& value) { SetCapabilityArn(value); return *this;}
63 inline GetCapabilityResult& WithCapabilityArn(Aws::String&& value) { SetCapabilityArn(std::move(value)); return *this;}
64 inline GetCapabilityResult& WithCapabilityArn(const char* value) { SetCapabilityArn(value); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline void SetName(const Aws::String& value) { m_name = value; }
73 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
74 inline void SetName(const char* value) { m_name.assign(value); }
75 inline GetCapabilityResult& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline GetCapabilityResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline GetCapabilityResult& WithName(const char* value) { SetName(value); return *this;}
79
81
85 inline const CapabilityType& GetType() const{ return m_type; }
86 inline void SetType(const CapabilityType& value) { m_type = value; }
87 inline void SetType(CapabilityType&& value) { m_type = std::move(value); }
88 inline GetCapabilityResult& WithType(const CapabilityType& value) { SetType(value); return *this;}
89 inline GetCapabilityResult& WithType(CapabilityType&& value) { SetType(std::move(value)); return *this;}
91
93
96 inline const CapabilityConfiguration& GetConfiguration() const{ return m_configuration; }
97 inline void SetConfiguration(const CapabilityConfiguration& value) { m_configuration = value; }
98 inline void SetConfiguration(CapabilityConfiguration&& value) { m_configuration = std::move(value); }
100 inline GetCapabilityResult& WithConfiguration(CapabilityConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
102
104
109 inline const Aws::Vector<S3Location>& GetInstructionsDocuments() const{ return m_instructionsDocuments; }
110 inline void SetInstructionsDocuments(const Aws::Vector<S3Location>& value) { m_instructionsDocuments = value; }
111 inline void SetInstructionsDocuments(Aws::Vector<S3Location>&& value) { m_instructionsDocuments = std::move(value); }
114 inline GetCapabilityResult& AddInstructionsDocuments(const S3Location& value) { m_instructionsDocuments.push_back(value); return *this; }
115 inline GetCapabilityResult& AddInstructionsDocuments(S3Location&& value) { m_instructionsDocuments.push_back(std::move(value)); return *this; }
117
119
122 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
123 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
124 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
125 inline GetCapabilityResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
126 inline GetCapabilityResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
134 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
135 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
136 inline GetCapabilityResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
137 inline GetCapabilityResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline GetCapabilityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline GetCapabilityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline GetCapabilityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_capabilityId;
153
154 Aws::String m_capabilityArn;
155
156 Aws::String m_name;
157
158 CapabilityType m_type;
159
160 CapabilityConfiguration m_configuration;
161
162 Aws::Vector<S3Location> m_instructionsDocuments;
163
164 Aws::Utils::DateTime m_createdAt;
165
166 Aws::Utils::DateTime m_modifiedAt;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace B2BI
173} // namespace Aws
GetCapabilityResult & WithRequestId(const Aws::String &value)
GetCapabilityResult & WithRequestId(const char *value)
GetCapabilityResult & WithCapabilityArn(const char *value)
void SetInstructionsDocuments(Aws::Vector< S3Location > &&value)
void SetType(CapabilityType &&value)
GetCapabilityResult & AddInstructionsDocuments(const S3Location &value)
const Aws::Vector< S3Location > & GetInstructionsDocuments() const
GetCapabilityResult & WithInstructionsDocuments(const Aws::Vector< S3Location > &value)
AWS_B2BI_API GetCapabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCapabilityResult & WithType(CapabilityType &&value)
void SetType(const CapabilityType &value)
const Aws::Utils::DateTime & GetModifiedAt() const
void SetRequestId(const Aws::String &value)
void SetCapabilityArn(Aws::String &&value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetCapabilityResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetConfiguration(const CapabilityConfiguration &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetCapabilityId() const
GetCapabilityResult & WithCapabilityId(const Aws::String &value)
GetCapabilityResult & WithCapabilityArn(const Aws::String &value)
GetCapabilityResult & WithName(const char *value)
GetCapabilityResult & WithCapabilityId(Aws::String &&value)
GetCapabilityResult & WithCapabilityId(const char *value)
void SetCapabilityArn(const Aws::String &value)
const Aws::String & GetCapabilityArn() const
GetCapabilityResult & WithCapabilityArn(Aws::String &&value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
void SetInstructionsDocuments(const Aws::Vector< S3Location > &value)
void SetConfiguration(CapabilityConfiguration &&value)
GetCapabilityResult & WithModifiedAt(Aws::Utils::DateTime &&value)
void SetCapabilityId(const Aws::String &value)
GetCapabilityResult & WithInstructionsDocuments(Aws::Vector< S3Location > &&value)
AWS_B2BI_API GetCapabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCapabilityResult & AddInstructionsDocuments(S3Location &&value)
GetCapabilityResult & WithName(const Aws::String &value)
void SetCapabilityId(Aws::String &&value)
GetCapabilityResult & WithModifiedAt(const Aws::Utils::DateTime &value)
GetCapabilityResult & WithName(Aws::String &&value)
GetCapabilityResult & WithConfiguration(CapabilityConfiguration &&value)
GetCapabilityResult & WithConfiguration(const CapabilityConfiguration &value)
void SetName(const Aws::String &value)
const CapabilityConfiguration & GetConfiguration() const
GetCapabilityResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetCapabilityResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
const CapabilityType & GetType() const
GetCapabilityResult & WithType(const 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