AWS SDK for C++  1.9.20
AWS SDK for C++
GetRealtimeLogConfig2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFront
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetRealtimeLogConfig"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetName() const{ return m_name; }
39 
43  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 
48  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 
53  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 
58  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 
63  inline GetRealtimeLogConfig2020_05_31Request& WithName(const Aws::String& value) { SetName(value); return *this;}
64 
68  inline GetRealtimeLogConfig2020_05_31Request& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 
73  inline GetRealtimeLogConfig2020_05_31Request& WithName(const char* value) { SetName(value); return *this;}
74 
75 
79  inline const Aws::String& GetARN() const{ return m_aRN; }
80 
84  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
85 
89  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
90 
94  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
95 
99  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
100 
104  inline GetRealtimeLogConfig2020_05_31Request& WithARN(const Aws::String& value) { SetARN(value); return *this;}
105 
109  inline GetRealtimeLogConfig2020_05_31Request& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
110 
114  inline GetRealtimeLogConfig2020_05_31Request& WithARN(const char* value) { SetARN(value); return *this;}
115 
116  private:
117 
118  Aws::String m_name;
119  bool m_nameHasBeenSet;
120 
121  Aws::String m_aRN;
122  bool m_aRNHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace CloudFront
127 } // namespace Aws
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::WithARN
GetRealtimeLogConfig2020_05_31Request & WithARN(const char *value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:114
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::SetARN
void SetARN(Aws::String &&value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:94
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request
Definition: GetRealtimeLogConfig2020_05_31Request.h:22
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::WithARN
GetRealtimeLogConfig2020_05_31Request & WithARN(const Aws::String &value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:104
CloudFrontRequest.h
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: GetRealtimeLogConfig2020_05_31Request.h:84
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::WithARN
GetRealtimeLogConfig2020_05_31Request & WithARN(Aws::String &&value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:109
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::GetRealtimeLogConfig2020_05_31Request
GetRealtimeLogConfig2020_05_31Request()
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::WithName
GetRealtimeLogConfig2020_05_31Request & WithName(const char *value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:73
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::SetName
void SetName(Aws::String &&value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:53
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::GetName
const Aws::String & GetName() const
Definition: GetRealtimeLogConfig2020_05_31Request.h:38
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::SetName
void SetName(const char *value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:58
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::SetARN
void SetARN(const Aws::String &value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:89
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::GetARN
const Aws::String & GetARN() const
Definition: GetRealtimeLogConfig2020_05_31Request.h:79
AWSString.h
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::SetName
void SetName(const Aws::String &value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:48
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRealtimeLogConfig2020_05_31Request.h:30
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetRealtimeLogConfig2020_05_31Request.h:43
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::WithName
GetRealtimeLogConfig2020_05_31Request & WithName(const Aws::String &value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:63
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::WithName
GetRealtimeLogConfig2020_05_31Request & WithName(Aws::String &&value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:68
Aws::CloudFront::Model::GetRealtimeLogConfig2020_05_31Request::SetARN
void SetARN(const char *value)
Definition: GetRealtimeLogConfig2020_05_31Request.h:99