AWS SDK for C++  1.9.175
AWS SDK for C++
UpdateProvisioningArtifactResult.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 UpdateProvisioningArtifactResult& WithProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { SetProvisioningArtifactDetail(value); return *this;}
57 
61  inline UpdateProvisioningArtifactResult& WithProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { SetProvisioningArtifactDetail(std::move(value)); return *this;}
62 
63 
67  inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
68 
72  inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_info = value; }
73 
77  inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_info = std::move(value); }
78 
82  inline UpdateProvisioningArtifactResult& WithInfo(const Aws::Map<Aws::String, Aws::String>& value) { SetInfo(value); return *this;}
83 
87  inline UpdateProvisioningArtifactResult& WithInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
88 
92  inline UpdateProvisioningArtifactResult& AddInfo(const Aws::String& key, const Aws::String& value) { m_info.emplace(key, value); return *this; }
93 
97  inline UpdateProvisioningArtifactResult& AddInfo(Aws::String&& key, const Aws::String& value) { m_info.emplace(std::move(key), value); return *this; }
98 
102  inline UpdateProvisioningArtifactResult& AddInfo(const Aws::String& key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
103 
107  inline UpdateProvisioningArtifactResult& AddInfo(Aws::String&& key, Aws::String&& value) { m_info.emplace(std::move(key), std::move(value)); return *this; }
108 
112  inline UpdateProvisioningArtifactResult& AddInfo(const char* key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
113 
117  inline UpdateProvisioningArtifactResult& AddInfo(Aws::String&& key, const char* value) { m_info.emplace(std::move(key), value); return *this; }
118 
122  inline UpdateProvisioningArtifactResult& AddInfo(const char* key, const char* value) { m_info.emplace(key, value); return *this; }
123 
124 
128  inline const Status& GetStatus() const{ return m_status; }
129 
133  inline void SetStatus(const Status& value) { m_status = value; }
134 
138  inline void SetStatus(Status&& value) { m_status = std::move(value); }
139 
143  inline UpdateProvisioningArtifactResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
144 
148  inline UpdateProvisioningArtifactResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
149 
150  private:
151 
152  ProvisioningArtifactDetail m_provisioningArtifactDetail;
153 
155 
156  Status m_status;
157  };
158 
159 } // namespace Model
160 } // namespace ServiceCatalog
161 } // namespace Aws
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::SetStatus
void SetStatus(const Status &value)
Definition: UpdateProvisioningArtifactResult.h:133
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::WithProvisioningArtifactDetail
UpdateProvisioningArtifactResult & WithProvisioningArtifactDetail(ProvisioningArtifactDetail &&value)
Definition: UpdateProvisioningArtifactResult.h:61
Status.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::GetProvisioningArtifactDetail
const ProvisioningArtifactDetail & GetProvisioningArtifactDetail() const
Definition: UpdateProvisioningArtifactResult.h:41
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::SetProvisioningArtifactDetail
void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
Definition: UpdateProvisioningArtifactResult.h:46
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::WithInfo
UpdateProvisioningArtifactResult & WithInfo(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateProvisioningArtifactResult.h:87
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult
Definition: UpdateProvisioningArtifactResult.h:31
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::AddInfo
UpdateProvisioningArtifactResult & AddInfo(const Aws::String &key, Aws::String &&value)
Definition: UpdateProvisioningArtifactResult.h:102
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::AddInfo
UpdateProvisioningArtifactResult & AddInfo(Aws::String &&key, const Aws::String &value)
Definition: UpdateProvisioningArtifactResult.h:97
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::SetInfo
void SetInfo(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateProvisioningArtifactResult.h:77
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::WithStatus
UpdateProvisioningArtifactResult & WithStatus(Status &&value)
Definition: UpdateProvisioningArtifactResult.h:148
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::GetStatus
const Status & GetStatus() const
Definition: UpdateProvisioningArtifactResult.h:128
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::AddInfo
UpdateProvisioningArtifactResult & AddInfo(const char *key, Aws::String &&value)
Definition: UpdateProvisioningArtifactResult.h:112
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::AddInfo
UpdateProvisioningArtifactResult & AddInfo(const Aws::String &key, const Aws::String &value)
Definition: UpdateProvisioningArtifactResult.h:92
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::AddInfo
UpdateProvisioningArtifactResult & AddInfo(Aws::String &&key, const char *value)
Definition: UpdateProvisioningArtifactResult.h:117
Aws::ServiceCatalog::Model::Status
Status
Definition: Status.h:17
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::operator=
UpdateProvisioningArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::UpdateProvisioningArtifactResult
UpdateProvisioningArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::SetInfo
void SetInfo(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateProvisioningArtifactResult.h:72
AWSString.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::SetStatus
void SetStatus(Status &&value)
Definition: UpdateProvisioningArtifactResult.h:138
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::WithStatus
UpdateProvisioningArtifactResult & WithStatus(const Status &value)
Definition: UpdateProvisioningArtifactResult.h:143
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::UpdateProvisioningArtifactResult
UpdateProvisioningArtifactResult()
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::WithInfo
UpdateProvisioningArtifactResult & WithInfo(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateProvisioningArtifactResult.h:82
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ProvisioningArtifactDetail.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::AddInfo
UpdateProvisioningArtifactResult & AddInfo(Aws::String &&key, Aws::String &&value)
Definition: UpdateProvisioningArtifactResult.h:107
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail
Definition: ProvisioningArtifactDetail.h:36
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::GetInfo
const Aws::Map< Aws::String, Aws::String > & GetInfo() const
Definition: UpdateProvisioningArtifactResult.h:67
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::WithProvisioningArtifactDetail
UpdateProvisioningArtifactResult & WithProvisioningArtifactDetail(const ProvisioningArtifactDetail &value)
Definition: UpdateProvisioningArtifactResult.h:56
AWSMap.h
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::SetProvisioningArtifactDetail
void SetProvisioningArtifactDetail(ProvisioningArtifactDetail &&value)
Definition: UpdateProvisioningArtifactResult.h:51
Aws::ServiceCatalog::Model::UpdateProvisioningArtifactResult::AddInfo
UpdateProvisioningArtifactResult & AddInfo(const char *key, const char *value)
Definition: UpdateProvisioningArtifactResult.h:122
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19