AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProvisioningArtifactResult.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 UpdateProvisioningArtifactResult();
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
54 inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
55 inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_info = value; }
56 inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_info = std::move(value); }
58 inline UpdateProvisioningArtifactResult& WithInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
59 inline UpdateProvisioningArtifactResult& AddInfo(const Aws::String& key, const Aws::String& value) { m_info.emplace(key, value); return *this; }
60 inline UpdateProvisioningArtifactResult& AddInfo(Aws::String&& key, const Aws::String& value) { m_info.emplace(std::move(key), value); return *this; }
61 inline UpdateProvisioningArtifactResult& AddInfo(const Aws::String& key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
62 inline UpdateProvisioningArtifactResult& AddInfo(Aws::String&& key, Aws::String&& value) { m_info.emplace(std::move(key), std::move(value)); return *this; }
63 inline UpdateProvisioningArtifactResult& AddInfo(const char* key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
64 inline UpdateProvisioningArtifactResult& AddInfo(Aws::String&& key, const char* value) { m_info.emplace(std::move(key), value); return *this; }
65 inline UpdateProvisioningArtifactResult& AddInfo(const char* key, const char* value) { m_info.emplace(key, value); return *this; }
67
69
72 inline const Status& GetStatus() const{ return m_status; }
73 inline void SetStatus(const Status& value) { m_status = value; }
74 inline void SetStatus(Status&& value) { m_status = std::move(value); }
75 inline UpdateProvisioningArtifactResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
76 inline UpdateProvisioningArtifactResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline UpdateProvisioningArtifactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline UpdateProvisioningArtifactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline UpdateProvisioningArtifactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 ProvisioningArtifactDetail m_provisioningArtifactDetail;
92
94
95 Status m_status;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace ServiceCatalog
102} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetInfo() const
UpdateProvisioningArtifactResult & WithStatus(const Status &value)
UpdateProvisioningArtifactResult & AddInfo(Aws::String &&key, const Aws::String &value)
UpdateProvisioningArtifactResult & WithRequestId(const Aws::String &value)
UpdateProvisioningArtifactResult & WithProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
UpdateProvisioningArtifactResult & WithInfo(Aws::Map< Aws::String, Aws::String > &&value)
UpdateProvisioningArtifactResult & AddInfo(const Aws::String &key, Aws::String &&value)
UpdateProvisioningArtifactResult & WithRequestId(Aws::String &&value)
void SetInfo(const Aws::Map< Aws::String, Aws::String > &value)
UpdateProvisioningArtifactResult & WithRequestId(const char *value)
void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
UpdateProvisioningArtifactResult & AddInfo(const char *key, const char *value)
UpdateProvisioningArtifactResult & WithInfo(const Aws::Map< Aws::String, Aws::String > &value)
UpdateProvisioningArtifactResult & AddInfo(Aws::String &&key, Aws::String &&value)
UpdateProvisioningArtifactResult & AddInfo(const char *key, Aws::String &&value)
AWS_SERVICECATALOG_API UpdateProvisioningArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SERVICECATALOG_API UpdateProvisioningArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProvisioningArtifactResult & AddInfo(Aws::String &&key, const char *value)
UpdateProvisioningArtifactResult & WithProvisioningArtifactDetail(ProvisioningArtifactDetail &&value)
UpdateProvisioningArtifactResult & AddInfo(const Aws::String &key, const 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
Aws::Utils::Json::JsonValue JsonValue