AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProvisioningArtifactResult.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/ProvisioningArtifactDetail.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/servicecatalog/model/Status.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ServiceCatalog
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SERVICECATALOG_API CreateProvisioningArtifactResult();
36
37
39
42 inline const ProvisioningArtifactDetail& GetProvisioningArtifactDetail() const{ return m_provisioningArtifactDetail; }
43 inline void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { m_provisioningArtifactDetail = value; }
44 inline void SetProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { m_provisioningArtifactDetail = std::move(value); }
48
50
60 inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
61 inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_info = value; }
62 inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_info = std::move(value); }
64 inline CreateProvisioningArtifactResult& WithInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
65 inline CreateProvisioningArtifactResult& AddInfo(const Aws::String& key, const Aws::String& value) { m_info.emplace(key, value); return *this; }
66 inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, const Aws::String& value) { m_info.emplace(std::move(key), value); return *this; }
67 inline CreateProvisioningArtifactResult& AddInfo(const Aws::String& key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
68 inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, Aws::String&& value) { m_info.emplace(std::move(key), std::move(value)); return *this; }
69 inline CreateProvisioningArtifactResult& AddInfo(const char* key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
70 inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, const char* value) { m_info.emplace(std::move(key), value); return *this; }
71 inline CreateProvisioningArtifactResult& AddInfo(const char* key, const char* value) { m_info.emplace(key, value); return *this; }
73
75
78 inline const Status& GetStatus() const{ return m_status; }
79 inline void SetStatus(const Status& value) { m_status = value; }
80 inline void SetStatus(Status&& value) { m_status = std::move(value); }
81 inline CreateProvisioningArtifactResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
82 inline CreateProvisioningArtifactResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline CreateProvisioningArtifactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline CreateProvisioningArtifactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline CreateProvisioningArtifactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 ProvisioningArtifactDetail m_provisioningArtifactDetail;
98
100
101 Status m_status;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace ServiceCatalog
108} // namespace Aws
CreateProvisioningArtifactResult & WithRequestId(const Aws::String &value)
CreateProvisioningArtifactResult & AddInfo(const Aws::String &key, Aws::String &&value)
CreateProvisioningArtifactResult & WithStatus(const Status &value)
CreateProvisioningArtifactResult & AddInfo(Aws::String &&key, Aws::String &&value)
CreateProvisioningArtifactResult & AddInfo(Aws::String &&key, const char *value)
void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
CreateProvisioningArtifactResult & WithInfo(const Aws::Map< Aws::String, Aws::String > &value)
CreateProvisioningArtifactResult & AddInfo(Aws::String &&key, const Aws::String &value)
CreateProvisioningArtifactResult & AddInfo(const Aws::String &key, const Aws::String &value)
CreateProvisioningArtifactResult & WithProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
AWS_SERVICECATALOG_API CreateProvisioningArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProvisioningArtifactResult & WithRequestId(Aws::String &&value)
CreateProvisioningArtifactResult & WithInfo(Aws::Map< Aws::String, Aws::String > &&value)
CreateProvisioningArtifactResult & WithProvisioningArtifactDetail(ProvisioningArtifactDetail &&value)
CreateProvisioningArtifactResult & AddInfo(const char *key, Aws::String &&value)
AWS_SERVICECATALOG_API CreateProvisioningArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetInfo() const
void SetInfo(const Aws::Map< Aws::String, Aws::String > &value)
CreateProvisioningArtifactResult & AddInfo(const char *key, const char *value)
CreateProvisioningArtifactResult & WithRequestId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue