AWS SDK for C++  1.9.175
AWS SDK for C++
CreateProvisioningArtifactResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace ServiceCatalog
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const ProvisioningArtifactDetail& GetProvisioningArtifactDetail() const{ return m_provisioningArtifactDetail; }
42 
46  inline void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { m_provisioningArtifactDetail = value; }
47 
51  inline void SetProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { m_provisioningArtifactDetail = std::move(value); }
52 
56  inline CreateProvisioningArtifactResult& WithProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { SetProvisioningArtifactDetail(value); return *this;}
57 
61  inline CreateProvisioningArtifactResult& WithProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { SetProvisioningArtifactDetail(std::move(value)); return *this;}
62 
63 
74  inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
75 
86  inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_info = value; }
87 
98  inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_info = std::move(value); }
99 
110  inline CreateProvisioningArtifactResult& WithInfo(const Aws::Map<Aws::String, Aws::String>& value) { SetInfo(value); return *this;}
111 
122  inline CreateProvisioningArtifactResult& WithInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
123 
134  inline CreateProvisioningArtifactResult& AddInfo(const Aws::String& key, const Aws::String& value) { m_info.emplace(key, value); return *this; }
135 
146  inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, const Aws::String& value) { m_info.emplace(std::move(key), value); return *this; }
147 
158  inline CreateProvisioningArtifactResult& AddInfo(const Aws::String& key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
159 
170  inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, Aws::String&& value) { m_info.emplace(std::move(key), std::move(value)); return *this; }
171 
182  inline CreateProvisioningArtifactResult& AddInfo(const char* key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
183 
194  inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, const char* value) { m_info.emplace(std::move(key), value); return *this; }
195 
206  inline CreateProvisioningArtifactResult& AddInfo(const char* key, const char* value) { m_info.emplace(key, value); return *this; }
207 
208 
212  inline const Status& GetStatus() const{ return m_status; }
213 
217  inline void SetStatus(const Status& value) { m_status = value; }
218 
222  inline void SetStatus(Status&& value) { m_status = std::move(value); }
223 
227  inline CreateProvisioningArtifactResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
228 
232  inline CreateProvisioningArtifactResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
233 
234  private:
235 
236  ProvisioningArtifactDetail m_provisioningArtifactDetail;
237 
239 
240  Status m_status;
241  };
242 
243 } // namespace Model
244 } // namespace ServiceCatalog
245 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::SetProvisioningArtifactDetail
void SetProvisioningArtifactDetail(ProvisioningArtifactDetail &&value)
Definition: CreateProvisioningArtifactResult.h:51
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::WithStatus
CreateProvisioningArtifactResult & WithStatus(Status &&value)
Definition: CreateProvisioningArtifactResult.h:232
Status.h
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::AddInfo
CreateProvisioningArtifactResult & AddInfo(const char *key, Aws::String &&value)
Definition: CreateProvisioningArtifactResult.h:182
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::SetInfo
void SetInfo(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateProvisioningArtifactResult.h:98
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::GetProvisioningArtifactDetail
const ProvisioningArtifactDetail & GetProvisioningArtifactDetail() const
Definition: CreateProvisioningArtifactResult.h:41
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::WithProvisioningArtifactDetail
CreateProvisioningArtifactResult & WithProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
Definition: CreateProvisioningArtifactResult.h:56
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::CreateProvisioningArtifactResult
CreateProvisioningArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::AddInfo
CreateProvisioningArtifactResult & AddInfo(const char *key, const char *value)
Definition: CreateProvisioningArtifactResult.h:206
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::WithProvisioningArtifactDetail
CreateProvisioningArtifactResult & WithProvisioningArtifactDetail(ProvisioningArtifactDetail &&value)
Definition: CreateProvisioningArtifactResult.h:61
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::WithInfo
CreateProvisioningArtifactResult & WithInfo(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateProvisioningArtifactResult.h:110
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::AddInfo
CreateProvisioningArtifactResult & AddInfo(Aws::String &&key, Aws::String &&value)
Definition: CreateProvisioningArtifactResult.h:170
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::AddInfo
CreateProvisioningArtifactResult & AddInfo(const Aws::String &key, Aws::String &&value)
Definition: CreateProvisioningArtifactResult.h:158
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::SetStatus
void SetStatus(const Status &value)
Definition: CreateProvisioningArtifactResult.h:217
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::GetStatus
const Status & GetStatus() const
Definition: CreateProvisioningArtifactResult.h:212
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::AddInfo
CreateProvisioningArtifactResult & AddInfo(Aws::String &&key, const Aws::String &value)
Definition: CreateProvisioningArtifactResult.h:146
Aws::ServiceCatalog::Model::Status
Status
Definition: Status.h:17
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::SetProvisioningArtifactDetail
void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
Definition: CreateProvisioningArtifactResult.h:46
AWSString.h
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::GetInfo
const Aws::Map< Aws::String, Aws::String > & GetInfo() const
Definition: CreateProvisioningArtifactResult.h:74
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::AddInfo
CreateProvisioningArtifactResult & AddInfo(const Aws::String &key, const Aws::String &value)
Definition: CreateProvisioningArtifactResult.h:134
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::operator=
CreateProvisioningArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult
Definition: CreateProvisioningArtifactResult.h:31
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::CreateProvisioningArtifactResult
CreateProvisioningArtifactResult()
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::SetStatus
void SetStatus(Status &&value)
Definition: CreateProvisioningArtifactResult.h:222
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::SetInfo
void SetInfo(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateProvisioningArtifactResult.h:86
ProvisioningArtifactDetail.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::WithStatus
CreateProvisioningArtifactResult & WithStatus(const Status &value)
Definition: CreateProvisioningArtifactResult.h:227
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail
Definition: ProvisioningArtifactDetail.h:36
ServiceCatalog_EXPORTS.h
AWSMap.h
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::AddInfo
CreateProvisioningArtifactResult & AddInfo(Aws::String &&key, const char *value)
Definition: CreateProvisioningArtifactResult.h:194
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::ServiceCatalog::Model::CreateProvisioningArtifactResult::WithInfo
CreateProvisioningArtifactResult & WithInfo(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateProvisioningArtifactResult.h:122