AWS SDK for C++  1.9.14
AWS SDK for C++
DeleteRealtimeLogConfig2020_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 "DeleteRealtimeLogConfig"; }
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 DeleteRealtimeLogConfig2020_05_31Request& WithName(const Aws::String& value) { SetName(value); return *this;}
64 
68  inline DeleteRealtimeLogConfig2020_05_31Request& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 
73  inline DeleteRealtimeLogConfig2020_05_31Request& WithName(const char* value) { SetName(value); return *this;}
74 
75 
80  inline const Aws::String& GetARN() const{ return m_aRN; }
81 
86  inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
87 
92  inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
93 
98  inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
99 
104  inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
105 
110  inline DeleteRealtimeLogConfig2020_05_31Request& WithARN(const Aws::String& value) { SetARN(value); return *this;}
111 
116  inline DeleteRealtimeLogConfig2020_05_31Request& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
117 
122  inline DeleteRealtimeLogConfig2020_05_31Request& WithARN(const char* value) { SetARN(value); return *this;}
123 
124  private:
125 
126  Aws::String m_name;
127  bool m_nameHasBeenSet;
128 
129  Aws::String m_aRN;
130  bool m_aRNHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace CloudFront
135 } // namespace Aws
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::GetARN
const Aws::String & GetARN() const
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:80
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::SetName
void SetName(Aws::String &&value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:53
CloudFrontRequest.h
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:30
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:22
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::DeleteRealtimeLogConfig2020_05_31Request
DeleteRealtimeLogConfig2020_05_31Request()
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::WithARN
DeleteRealtimeLogConfig2020_05_31Request & WithARN(const Aws::String &value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:110
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::ARNHasBeenSet
bool ARNHasBeenSet() const
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:86
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::WithName
DeleteRealtimeLogConfig2020_05_31Request & WithName(const char *value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:73
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::WithName
DeleteRealtimeLogConfig2020_05_31Request & WithName(Aws::String &&value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:68
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::SetARN
void SetARN(const char *value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:104
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::SetARN
void SetARN(Aws::String &&value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:98
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::SetName
void SetName(const char *value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:58
CloudFront_EXPORTS.h
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:43
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::GetName
const Aws::String & GetName() const
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:38
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::SetARN
void SetARN(const Aws::String &value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:92
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::WithARN
DeleteRealtimeLogConfig2020_05_31Request & WithARN(const char *value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::WithARN
DeleteRealtimeLogConfig2020_05_31Request & WithARN(Aws::String &&value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::WithName
DeleteRealtimeLogConfig2020_05_31Request & WithName(const Aws::String &value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:63
Aws::CloudFront::Model::DeleteRealtimeLogConfig2020_05_31Request::SetName
void SetName(const Aws::String &value)
Definition: DeleteRealtimeLogConfig2020_05_31Request.h:48