AWS SDK for C++  1.9.20
AWS SDK for C++
GetKeyGroupConfig2020_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 "GetKeyGroupConfig"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetId() const{ return m_id; }
40 
45  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 
51  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
69  inline GetKeyGroupConfig2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
75  inline GetKeyGroupConfig2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
81  inline GetKeyGroupConfig2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_id;
86  bool m_idHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace CloudFront
91 } // namespace Aws
CloudFrontRequest.h
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::WithId
GetKeyGroupConfig2020_05_31Request & WithId(const Aws::String &value)
Definition: GetKeyGroupConfig2020_05_31Request.h:69
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GetKeyGroupConfig2020_05_31Request.h:45
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::SetId
void SetId(const char *value)
Definition: GetKeyGroupConfig2020_05_31Request.h:63
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::WithId
GetKeyGroupConfig2020_05_31Request & WithId(Aws::String &&value)
Definition: GetKeyGroupConfig2020_05_31Request.h:75
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetKeyGroupConfig2020_05_31Request.h:30
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: GetKeyGroupConfig2020_05_31Request.h:57
AWSString.h
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request
Definition: GetKeyGroupConfig2020_05_31Request.h:22
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: GetKeyGroupConfig2020_05_31Request.h:39
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::GetKeyGroupConfig2020_05_31Request
GetKeyGroupConfig2020_05_31Request()
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::WithId
GetKeyGroupConfig2020_05_31Request & WithId(const char *value)
Definition: GetKeyGroupConfig2020_05_31Request.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::GetKeyGroupConfig2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: GetKeyGroupConfig2020_05_31Request.h:51