AWS SDK for C++  1.9.16
AWS SDK for C++
GetCloudFrontOriginAccessIdentityConfig2020_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 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "GetCloudFrontOriginAccessIdentityConfig"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline GetCloudFrontOriginAccessIdentityConfig2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline GetCloudFrontOriginAccessIdentityConfig2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline GetCloudFrontOriginAccessIdentityConfig2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
80 
81  private:
82 
83  Aws::String m_id;
84  bool m_idHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace CloudFront
89 } // namespace Aws
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:59
CloudFrontRequest.h
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::SetId
void SetId(const char *value)
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:64
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:54
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request
GetCloudFrontOriginAccessIdentityConfig2020_05_31Request()
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::WithId
GetCloudFrontOriginAccessIdentityConfig2020_05_31Request & WithId(const Aws::String &value)
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:69
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::WithId
GetCloudFrontOriginAccessIdentityConfig2020_05_31Request & WithId(const char *value)
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:79
AWSString.h
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::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:28
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::WithId
GetCloudFrontOriginAccessIdentityConfig2020_05_31Request & WithId(Aws::String &&value)
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:49
Aws::CloudFront::Model::GetCloudFrontOriginAccessIdentityConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCloudFrontOriginAccessIdentityConfig2020_05_31Request.h:36