AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCapabilityResult.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 CreateCapabilityResult();
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 CreateCapabilityResult& WithCapabilityId(const Aws::String& value) { SetCapabilityId(value); return *this;}
49 inline CreateCapabilityResult& WithCapabilityId(Aws::String&& value) { SetCapabilityId(std::move(value)); return *this;}
50 inline CreateCapabilityResult& 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 CreateCapabilityResult& WithCapabilityArn(const Aws::String& value) { SetCapabilityArn(value); return *this;}
63 inline CreateCapabilityResult& WithCapabilityArn(Aws::String&& value) { SetCapabilityArn(std::move(value)); return *this;}
64 inline CreateCapabilityResult& 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 CreateCapabilityResult& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline CreateCapabilityResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline CreateCapabilityResult& 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 CreateCapabilityResult& WithType(const CapabilityType& value) { SetType(value); return *this;}
89 inline CreateCapabilityResult& 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 CreateCapabilityResult& 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 CreateCapabilityResult& AddInstructionsDocuments(const S3Location& value) { m_instructionsDocuments.push_back(value); return *this; }
115 inline CreateCapabilityResult& 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 CreateCapabilityResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
126 inline CreateCapabilityResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
128
130
131 inline const Aws::String& GetRequestId() const{ return m_requestId; }
132 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
133 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
134 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
135 inline CreateCapabilityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
136 inline CreateCapabilityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
137 inline CreateCapabilityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
139 private:
140
141 Aws::String m_capabilityId;
142
143 Aws::String m_capabilityArn;
144
145 Aws::String m_name;
146
147 CapabilityType m_type;
148
149 CapabilityConfiguration m_configuration;
150
151 Aws::Vector<S3Location> m_instructionsDocuments;
152
153 Aws::Utils::DateTime m_createdAt;
154
155 Aws::String m_requestId;
156 };
157
158} // namespace Model
159} // namespace B2BI
160} // namespace Aws
const Aws::Vector< S3Location > & GetInstructionsDocuments() const
CreateCapabilityResult & WithRequestId(Aws::String &&value)
CreateCapabilityResult & WithCapabilityArn(const char *value)
void SetConfiguration(const CapabilityConfiguration &value)
CreateCapabilityResult & WithCapabilityId(const Aws::String &value)
CreateCapabilityResult & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCapabilityId(const Aws::String &value)
CreateCapabilityResult & AddInstructionsDocuments(S3Location &&value)
CreateCapabilityResult & WithName(const Aws::String &value)
CreateCapabilityResult & WithCapabilityArn(const Aws::String &value)
void SetType(const CapabilityType &value)
CreateCapabilityResult & AddInstructionsDocuments(const S3Location &value)
CreateCapabilityResult & WithCapabilityArn(Aws::String &&value)
AWS_B2BI_API CreateCapabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCapabilityResult & WithName(const char *value)
CreateCapabilityResult & WithRequestId(const char *value)
AWS_B2BI_API CreateCapabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCapabilityResult & WithCapabilityId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateCapabilityResult & WithConfiguration(CapabilityConfiguration &&value)
CreateCapabilityResult & WithRequestId(const Aws::String &value)
CreateCapabilityResult & WithName(Aws::String &&value)
CreateCapabilityResult & WithType(const CapabilityType &value)
CreateCapabilityResult & WithInstructionsDocuments(Aws::Vector< S3Location > &&value)
void SetInstructionsDocuments(const Aws::Vector< S3Location > &value)
CreateCapabilityResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateCapabilityResult & WithType(CapabilityType &&value)
void SetCapabilityArn(const Aws::String &value)
CreateCapabilityResult & WithCapabilityId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateCapabilityResult & WithInstructionsDocuments(const Aws::Vector< S3Location > &value)
const CapabilityConfiguration & GetConfiguration() const
void SetInstructionsDocuments(Aws::Vector< S3Location > &&value)
void SetConfiguration(CapabilityConfiguration &&value)
CreateCapabilityResult & WithConfiguration(const CapabilityConfiguration &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