AWS SDK for C++  1.9.108
AWS SDK for C++
CreateCampaignResult.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 Personalize
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetCampaignArn() const{ return m_campaignArn; }
39 
43  inline void SetCampaignArn(const Aws::String& value) { m_campaignArn = value; }
44 
48  inline void SetCampaignArn(Aws::String&& value) { m_campaignArn = std::move(value); }
49 
53  inline void SetCampaignArn(const char* value) { m_campaignArn.assign(value); }
54 
58  inline CreateCampaignResult& WithCampaignArn(const Aws::String& value) { SetCampaignArn(value); return *this;}
59 
63  inline CreateCampaignResult& WithCampaignArn(Aws::String&& value) { SetCampaignArn(std::move(value)); return *this;}
64 
68  inline CreateCampaignResult& WithCampaignArn(const char* value) { SetCampaignArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_campaignArn;
73  };
74 
75 } // namespace Model
76 } // namespace Personalize
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::CreateCampaignResult::SetCampaignArn
void SetCampaignArn(Aws::String &&value)
Definition: CreateCampaignResult.h:48
Aws::Personalize::Model::CreateCampaignResult
Definition: CreateCampaignResult.h:28
Aws::Personalize::Model::CreateCampaignResult::SetCampaignArn
void SetCampaignArn(const Aws::String &value)
Definition: CreateCampaignResult.h:43
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateCampaignResult::CreateCampaignResult
CreateCampaignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::CreateCampaignResult::operator=
CreateCampaignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::CreateCampaignResult::WithCampaignArn
CreateCampaignResult & WithCampaignArn(const Aws::String &value)
Definition: CreateCampaignResult.h:58
Aws::Personalize::Model::CreateCampaignResult::GetCampaignArn
const Aws::String & GetCampaignArn() const
Definition: CreateCampaignResult.h:38
AWSString.h
Aws::Personalize::Model::CreateCampaignResult::WithCampaignArn
CreateCampaignResult & WithCampaignArn(Aws::String &&value)
Definition: CreateCampaignResult.h:63
Aws::Personalize::Model::CreateCampaignResult::WithCampaignArn
CreateCampaignResult & WithCampaignArn(const char *value)
Definition: CreateCampaignResult.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateCampaignResult::SetCampaignArn
void SetCampaignArn(const char *value)
Definition: CreateCampaignResult.h:53
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateCampaignResult::CreateCampaignResult
CreateCampaignResult()