AWS SDK for C++  1.9.104
AWS SDK for C++
CopyProductResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ServiceCatalog
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetCopyProductToken() const{ return m_copyProductToken; }
39 
43  inline void SetCopyProductToken(const Aws::String& value) { m_copyProductToken = value; }
44 
48  inline void SetCopyProductToken(Aws::String&& value) { m_copyProductToken = std::move(value); }
49 
53  inline void SetCopyProductToken(const char* value) { m_copyProductToken.assign(value); }
54 
58  inline CopyProductResult& WithCopyProductToken(const Aws::String& value) { SetCopyProductToken(value); return *this;}
59 
63  inline CopyProductResult& WithCopyProductToken(Aws::String&& value) { SetCopyProductToken(std::move(value)); return *this;}
64 
68  inline CopyProductResult& WithCopyProductToken(const char* value) { SetCopyProductToken(value); return *this;}
69 
70  private:
71 
72  Aws::String m_copyProductToken;
73  };
74 
75 } // namespace Model
76 } // namespace ServiceCatalog
77 } // namespace Aws
Aws::ServiceCatalog::Model::CopyProductResult::CopyProductResult
CopyProductResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::CopyProductResult::WithCopyProductToken
CopyProductResult & WithCopyProductToken(const char *value)
Definition: CopyProductResult.h:68
Aws::ServiceCatalog::Model::CopyProductResult::operator=
CopyProductResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::CopyProductResult::WithCopyProductToken
CopyProductResult & WithCopyProductToken(const Aws::String &value)
Definition: CopyProductResult.h:58
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::CopyProductResult::SetCopyProductToken
void SetCopyProductToken(const Aws::String &value)
Definition: CopyProductResult.h:43
AWSString.h
Aws::ServiceCatalog::Model::CopyProductResult::CopyProductResult
CopyProductResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::CopyProductResult::GetCopyProductToken
const Aws::String & GetCopyProductToken() const
Definition: CopyProductResult.h:38
Aws::ServiceCatalog::Model::CopyProductResult::SetCopyProductToken
void SetCopyProductToken(const char *value)
Definition: CopyProductResult.h:53
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::CopyProductResult::SetCopyProductToken
void SetCopyProductToken(Aws::String &&value)
Definition: CopyProductResult.h:48
Aws::ServiceCatalog::Model::CopyProductResult
Definition: CopyProductResult.h:28
Aws::ServiceCatalog::Model::CopyProductResult::WithCopyProductToken
CopyProductResult & WithCopyProductToken(Aws::String &&value)
Definition: CopyProductResult.h:63