AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeCopyProductStatusResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ServiceCatalog
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const CopyProductStatus& GetCopyProductStatus() const{ return m_copyProductStatus; }
40 
44  inline void SetCopyProductStatus(const CopyProductStatus& value) { m_copyProductStatus = value; }
45 
49  inline void SetCopyProductStatus(CopyProductStatus&& value) { m_copyProductStatus = std::move(value); }
50 
54  inline DescribeCopyProductStatusResult& WithCopyProductStatus(const CopyProductStatus& value) { SetCopyProductStatus(value); return *this;}
55 
59  inline DescribeCopyProductStatusResult& WithCopyProductStatus(CopyProductStatus&& value) { SetCopyProductStatus(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetTargetProductId() const{ return m_targetProductId; }
66 
70  inline void SetTargetProductId(const Aws::String& value) { m_targetProductId = value; }
71 
75  inline void SetTargetProductId(Aws::String&& value) { m_targetProductId = std::move(value); }
76 
80  inline void SetTargetProductId(const char* value) { m_targetProductId.assign(value); }
81 
85  inline DescribeCopyProductStatusResult& WithTargetProductId(const Aws::String& value) { SetTargetProductId(value); return *this;}
86 
90  inline DescribeCopyProductStatusResult& WithTargetProductId(Aws::String&& value) { SetTargetProductId(std::move(value)); return *this;}
91 
95  inline DescribeCopyProductStatusResult& WithTargetProductId(const char* value) { SetTargetProductId(value); return *this;}
96 
97 
101  inline const Aws::String& GetStatusDetail() const{ return m_statusDetail; }
102 
106  inline void SetStatusDetail(const Aws::String& value) { m_statusDetail = value; }
107 
111  inline void SetStatusDetail(Aws::String&& value) { m_statusDetail = std::move(value); }
112 
116  inline void SetStatusDetail(const char* value) { m_statusDetail.assign(value); }
117 
121  inline DescribeCopyProductStatusResult& WithStatusDetail(const Aws::String& value) { SetStatusDetail(value); return *this;}
122 
126  inline DescribeCopyProductStatusResult& WithStatusDetail(Aws::String&& value) { SetStatusDetail(std::move(value)); return *this;}
127 
131  inline DescribeCopyProductStatusResult& WithStatusDetail(const char* value) { SetStatusDetail(value); return *this;}
132 
133  private:
134 
135  CopyProductStatus m_copyProductStatus;
136 
137  Aws::String m_targetProductId;
138 
139  Aws::String m_statusDetail;
140  };
141 
142 } // namespace Model
143 } // namespace ServiceCatalog
144 } // namespace Aws
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithTargetProductId
DescribeCopyProductStatusResult & WithTargetProductId(const char *value)
Definition: DescribeCopyProductStatusResult.h:95
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetTargetProductId
void SetTargetProductId(const Aws::String &value)
Definition: DescribeCopyProductStatusResult.h:70
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult
Definition: DescribeCopyProductStatusResult.h:29
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithCopyProductStatus
DescribeCopyProductStatusResult & WithCopyProductStatus(CopyProductStatus &&value)
Definition: DescribeCopyProductStatusResult.h:59
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetStatusDetail
void SetStatusDetail(Aws::String &&value)
Definition: DescribeCopyProductStatusResult.h:111
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithTargetProductId
DescribeCopyProductStatusResult & WithTargetProductId(const Aws::String &value)
Definition: DescribeCopyProductStatusResult.h:85
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::GetCopyProductStatus
const CopyProductStatus & GetCopyProductStatus() const
Definition: DescribeCopyProductStatusResult.h:39
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithCopyProductStatus
DescribeCopyProductStatusResult & WithCopyProductStatus(const CopyProductStatus &value)
Definition: DescribeCopyProductStatusResult.h:54
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetCopyProductStatus
void SetCopyProductStatus(CopyProductStatus &&value)
Definition: DescribeCopyProductStatusResult.h:49
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::GetTargetProductId
const Aws::String & GetTargetProductId() const
Definition: DescribeCopyProductStatusResult.h:65
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithStatusDetail
DescribeCopyProductStatusResult & WithStatusDetail(Aws::String &&value)
Definition: DescribeCopyProductStatusResult.h:126
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::operator=
DescribeCopyProductStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::CopyProductStatus
CopyProductStatus
Definition: CopyProductStatus.h:17
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::DescribeCopyProductStatusResult
DescribeCopyProductStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetTargetProductId
void SetTargetProductId(Aws::String &&value)
Definition: DescribeCopyProductStatusResult.h:75
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithStatusDetail
DescribeCopyProductStatusResult & WithStatusDetail(const Aws::String &value)
Definition: DescribeCopyProductStatusResult.h:121
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithStatusDetail
DescribeCopyProductStatusResult & WithStatusDetail(const char *value)
Definition: DescribeCopyProductStatusResult.h:131
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::GetStatusDetail
const Aws::String & GetStatusDetail() const
Definition: DescribeCopyProductStatusResult.h:101
AWSString.h
CopyProductStatus.h
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::DescribeCopyProductStatusResult
DescribeCopyProductStatusResult()
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetCopyProductStatus
void SetCopyProductStatus(const CopyProductStatus &value)
Definition: DescribeCopyProductStatusResult.h:44
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::WithTargetProductId
DescribeCopyProductStatusResult & WithTargetProductId(Aws::String &&value)
Definition: DescribeCopyProductStatusResult.h:90
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetStatusDetail
void SetStatusDetail(const char *value)
Definition: DescribeCopyProductStatusResult.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetStatusDetail
void SetStatusDetail(const Aws::String &value)
Definition: DescribeCopyProductStatusResult.h:106
Aws::ServiceCatalog::Model::DescribeCopyProductStatusResult::SetTargetProductId
void SetTargetProductId(const char *value)
Definition: DescribeCopyProductStatusResult.h:80