AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 CreateCapabilityResult& 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 CreateCapabilityResult& 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 CreateCapabilityResult& 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 CreateCapabilityResult& 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 CreateCapabilityResult& 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 CreateCapabilityResult& WithInstructionsDocuments(InstructionsDocumentsT&& value) { SetInstructionsDocuments(std::forward<InstructionsDocumentsT>(value)); return *this;}
106 template<typename InstructionsDocumentsT = S3Location>
107 CreateCapabilityResult& 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 CreateCapabilityResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template<typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
126 template<typename RequestIdT = Aws::String>
127 CreateCapabilityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
129 private:
130
131 Aws::String m_capabilityId;
132 bool m_capabilityIdHasBeenSet = false;
133
134 Aws::String m_capabilityArn;
135 bool m_capabilityArnHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
141 bool m_typeHasBeenSet = false;
142
143 CapabilityConfiguration m_configuration;
144 bool m_configurationHasBeenSet = false;
145
146 Aws::Vector<S3Location> m_instructionsDocuments;
147 bool m_instructionsDocumentsHasBeenSet = false;
148
149 Aws::Utils::DateTime m_createdAt{};
150 bool m_createdAtHasBeenSet = false;
151
152 Aws::String m_requestId;
153 bool m_requestIdHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace B2BI
158} // 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