AWS SDK for C++  1.9.108
AWS SDK for C++
CreateEventTrackerResult.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& GetEventTrackerArn() const{ return m_eventTrackerArn; }
39 
43  inline void SetEventTrackerArn(const Aws::String& value) { m_eventTrackerArn = value; }
44 
48  inline void SetEventTrackerArn(Aws::String&& value) { m_eventTrackerArn = std::move(value); }
49 
53  inline void SetEventTrackerArn(const char* value) { m_eventTrackerArn.assign(value); }
54 
58  inline CreateEventTrackerResult& WithEventTrackerArn(const Aws::String& value) { SetEventTrackerArn(value); return *this;}
59 
63  inline CreateEventTrackerResult& WithEventTrackerArn(Aws::String&& value) { SetEventTrackerArn(std::move(value)); return *this;}
64 
68  inline CreateEventTrackerResult& WithEventTrackerArn(const char* value) { SetEventTrackerArn(value); return *this;}
69 
70 
76  inline const Aws::String& GetTrackingId() const{ return m_trackingId; }
77 
83  inline void SetTrackingId(const Aws::String& value) { m_trackingId = value; }
84 
90  inline void SetTrackingId(Aws::String&& value) { m_trackingId = std::move(value); }
91 
97  inline void SetTrackingId(const char* value) { m_trackingId.assign(value); }
98 
104  inline CreateEventTrackerResult& WithTrackingId(const Aws::String& value) { SetTrackingId(value); return *this;}
105 
111  inline CreateEventTrackerResult& WithTrackingId(Aws::String&& value) { SetTrackingId(std::move(value)); return *this;}
112 
118  inline CreateEventTrackerResult& WithTrackingId(const char* value) { SetTrackingId(value); return *this;}
119 
120  private:
121 
122  Aws::String m_eventTrackerArn;
123 
124  Aws::String m_trackingId;
125  };
126 
127 } // namespace Model
128 } // namespace Personalize
129 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::CreateEventTrackerResult::WithEventTrackerArn
CreateEventTrackerResult & WithEventTrackerArn(Aws::String &&value)
Definition: CreateEventTrackerResult.h:63
Aws::Personalize::Model::CreateEventTrackerResult::operator=
CreateEventTrackerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::CreateEventTrackerResult::SetEventTrackerArn
void SetEventTrackerArn(const char *value)
Definition: CreateEventTrackerResult.h:53
Aws::Personalize::Model::CreateEventTrackerResult::WithEventTrackerArn
CreateEventTrackerResult & WithEventTrackerArn(const Aws::String &value)
Definition: CreateEventTrackerResult.h:58
Aws::Personalize::Model::CreateEventTrackerResult::WithTrackingId
CreateEventTrackerResult & WithTrackingId(Aws::String &&value)
Definition: CreateEventTrackerResult.h:111
Aws::Personalize::Model::CreateEventTrackerResult::GetTrackingId
const Aws::String & GetTrackingId() const
Definition: CreateEventTrackerResult.h:76
Aws::Personalize::Model::CreateEventTrackerResult::WithEventTrackerArn
CreateEventTrackerResult & WithEventTrackerArn(const char *value)
Definition: CreateEventTrackerResult.h:68
Aws::Personalize::Model::CreateEventTrackerResult::GetEventTrackerArn
const Aws::String & GetEventTrackerArn() const
Definition: CreateEventTrackerResult.h:38
Aws::Personalize::Model::CreateEventTrackerResult
Definition: CreateEventTrackerResult.h:28
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateEventTrackerResult::WithTrackingId
CreateEventTrackerResult & WithTrackingId(const char *value)
Definition: CreateEventTrackerResult.h:118
Aws::Personalize::Model::CreateEventTrackerResult::WithTrackingId
CreateEventTrackerResult & WithTrackingId(const Aws::String &value)
Definition: CreateEventTrackerResult.h:104
AWSString.h
Aws::Personalize::Model::CreateEventTrackerResult::SetEventTrackerArn
void SetEventTrackerArn(Aws::String &&value)
Definition: CreateEventTrackerResult.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CreateEventTrackerResult::SetTrackingId
void SetTrackingId(const char *value)
Definition: CreateEventTrackerResult.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateEventTrackerResult::SetEventTrackerArn
void SetEventTrackerArn(const Aws::String &value)
Definition: CreateEventTrackerResult.h:43
Aws::Personalize::Model::CreateEventTrackerResult::SetTrackingId
void SetTrackingId(const Aws::String &value)
Definition: CreateEventTrackerResult.h:83
Aws::Personalize::Model::CreateEventTrackerResult::CreateEventTrackerResult
CreateEventTrackerResult()
Aws::Personalize::Model::CreateEventTrackerResult::SetTrackingId
void SetTrackingId(Aws::String &&value)
Definition: CreateEventTrackerResult.h:90
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateEventTrackerResult::CreateEventTrackerResult
CreateEventTrackerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)