AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeProvisioningArtifactResult.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/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/servicecatalog/model/ProvisioningArtifactParameter.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 ServiceCatalog
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SERVICECATALOG_API DescribeProvisioningArtifactResult();
38
39
41
44 inline const ProvisioningArtifactDetail& GetProvisioningArtifactDetail() const{ return m_provisioningArtifactDetail; }
45 inline void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { m_provisioningArtifactDetail = value; }
46 inline void SetProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { m_provisioningArtifactDetail = std::move(value); }
50
52
56 inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
57 inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_info = value; }
58 inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_info = std::move(value); }
61 inline DescribeProvisioningArtifactResult& AddInfo(const Aws::String& key, const Aws::String& value) { m_info.emplace(key, value); return *this; }
62 inline DescribeProvisioningArtifactResult& AddInfo(Aws::String&& key, const Aws::String& value) { m_info.emplace(std::move(key), value); return *this; }
63 inline DescribeProvisioningArtifactResult& AddInfo(const Aws::String& key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
64 inline DescribeProvisioningArtifactResult& AddInfo(Aws::String&& key, Aws::String&& value) { m_info.emplace(std::move(key), std::move(value)); return *this; }
65 inline DescribeProvisioningArtifactResult& AddInfo(const char* key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
66 inline DescribeProvisioningArtifactResult& AddInfo(Aws::String&& key, const char* value) { m_info.emplace(std::move(key), value); return *this; }
67 inline DescribeProvisioningArtifactResult& AddInfo(const char* key, const char* value) { m_info.emplace(key, value); return *this; }
69
71
74 inline const Status& GetStatus() const{ return m_status; }
75 inline void SetStatus(const Status& value) { m_status = value; }
76 inline void SetStatus(Status&& value) { m_status = std::move(value); }
77 inline DescribeProvisioningArtifactResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
78 inline DescribeProvisioningArtifactResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::Vector<ProvisioningArtifactParameter>& GetProvisioningArtifactParameters() const{ return m_provisioningArtifactParameters; }
86 inline void SetProvisioningArtifactParameters(const Aws::Vector<ProvisioningArtifactParameter>& value) { m_provisioningArtifactParameters = value; }
87 inline void SetProvisioningArtifactParameters(Aws::Vector<ProvisioningArtifactParameter>&& value) { m_provisioningArtifactParameters = std::move(value); }
90 inline DescribeProvisioningArtifactResult& AddProvisioningArtifactParameters(const ProvisioningArtifactParameter& value) { m_provisioningArtifactParameters.push_back(value); return *this; }
91 inline DescribeProvisioningArtifactResult& AddProvisioningArtifactParameters(ProvisioningArtifactParameter&& value) { m_provisioningArtifactParameters.push_back(std::move(value)); return *this; }
93
95
96 inline const Aws::String& GetRequestId() const{ return m_requestId; }
97 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
98 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
99 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
100 inline DescribeProvisioningArtifactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
101 inline DescribeProvisioningArtifactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
102 inline DescribeProvisioningArtifactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
104 private:
105
106 ProvisioningArtifactDetail m_provisioningArtifactDetail;
107
109
110 Status m_status;
111
112 Aws::Vector<ProvisioningArtifactParameter> m_provisioningArtifactParameters;
113
114 Aws::String m_requestId;
115 };
116
117} // namespace Model
118} // namespace ServiceCatalog
119} // namespace Aws
DescribeProvisioningArtifactResult & AddInfo(const Aws::String &key, Aws::String &&value)
DescribeProvisioningArtifactResult & WithRequestId(const char *value)
DescribeProvisioningArtifactResult & WithProvisioningArtifactParameters(Aws::Vector< ProvisioningArtifactParameter > &&value)
DescribeProvisioningArtifactResult & AddInfo(Aws::String &&key, Aws::String &&value)
DescribeProvisioningArtifactResult & AddProvisioningArtifactParameters(const ProvisioningArtifactParameter &value)
DescribeProvisioningArtifactResult & WithStatus(const Status &value)
AWS_SERVICECATALOG_API DescribeProvisioningArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProvisioningArtifactResult & AddInfo(Aws::String &&key, const Aws::String &value)
const Aws::Vector< ProvisioningArtifactParameter > & GetProvisioningArtifactParameters() const
DescribeProvisioningArtifactResult & AddInfo(const char *key, Aws::String &&value)
DescribeProvisioningArtifactResult & WithProvisioningArtifactParameters(const Aws::Vector< ProvisioningArtifactParameter > &value)
DescribeProvisioningArtifactResult & WithRequestId(const Aws::String &value)
DescribeProvisioningArtifactResult & WithProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
void SetProvisioningArtifactParameters(Aws::Vector< ProvisioningArtifactParameter > &&value)
void SetProvisioningArtifactParameters(const Aws::Vector< ProvisioningArtifactParameter > &value)
DescribeProvisioningArtifactResult & AddProvisioningArtifactParameters(ProvisioningArtifactParameter &&value)
DescribeProvisioningArtifactResult & WithRequestId(Aws::String &&value)
AWS_SERVICECATALOG_API DescribeProvisioningArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProvisioningArtifactResult & AddInfo(const char *key, const char *value)
DescribeProvisioningArtifactResult & WithInfo(const Aws::Map< Aws::String, Aws::String > &value)
void SetInfo(const Aws::Map< Aws::String, Aws::String > &value)
DescribeProvisioningArtifactResult & AddInfo(const Aws::String &key, const Aws::String &value)
DescribeProvisioningArtifactResult & WithProvisioningArtifactDetail(ProvisioningArtifactDetail &&value)
DescribeProvisioningArtifactResult & AddInfo(Aws::String &&key, const char *value)
DescribeProvisioningArtifactResult & WithInfo(Aws::Map< Aws::String, Aws::String > &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue