AWS SDK for C++  1.9.18
AWS SDK for C++
GetDistributionConfig2020_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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetDistributionConfig"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetId() const{ return m_id; }
44 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
55  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 
61  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 
67  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 
73  inline GetDistributionConfig2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
74 
79  inline GetDistributionConfig2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 
85  inline GetDistributionConfig2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
86 
87  private:
88 
89  Aws::String m_id;
90  bool m_idHasBeenSet;
91  };
92 
93 } // namespace Model
94 } // namespace CloudFront
95 } // namespace Aws
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::WithId
GetDistributionConfig2020_05_31Request & WithId(const char *value)
Definition: GetDistributionConfig2020_05_31Request.h:85
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDistributionConfig2020_05_31Request.h:34
CloudFrontRequest.h
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: GetDistributionConfig2020_05_31Request.h:61
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::GetDistributionConfig2020_05_31Request
GetDistributionConfig2020_05_31Request()
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GetDistributionConfig2020_05_31Request.h:49
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::WithId
GetDistributionConfig2020_05_31Request & WithId(const Aws::String &value)
Definition: GetDistributionConfig2020_05_31Request.h:73
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: GetDistributionConfig2020_05_31Request.h:43
AWSString.h
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::WithId
GetDistributionConfig2020_05_31Request & WithId(Aws::String &&value)
Definition: GetDistributionConfig2020_05_31Request.h:79
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::SetId
void SetId(const char *value)
Definition: GetDistributionConfig2020_05_31Request.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request
Definition: GetDistributionConfig2020_05_31Request.h:26
Aws::CloudFront::Model::GetDistributionConfig2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: GetDistributionConfig2020_05_31Request.h:55