AWS SDK for C++  1.9.18
AWS SDK for C++
UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CloudFront
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateCloudFrontOriginAccessIdentity"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
45  inline const CloudFrontOriginAccessIdentityConfig& GetCloudFrontOriginAccessIdentityConfig() const{ return m_cloudFrontOriginAccessIdentityConfig; }
46 
50  inline bool CloudFrontOriginAccessIdentityConfigHasBeenSet() const { return m_cloudFrontOriginAccessIdentityConfigHasBeenSet; }
51 
55  inline void SetCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig& value) { m_cloudFrontOriginAccessIdentityConfigHasBeenSet = true; m_cloudFrontOriginAccessIdentityConfig = value; }
56 
60  inline void SetCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig&& value) { m_cloudFrontOriginAccessIdentityConfigHasBeenSet = true; m_cloudFrontOriginAccessIdentityConfig = std::move(value); }
61 
65  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig& value) { SetCloudFrontOriginAccessIdentityConfig(value); return *this;}
66 
70  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig&& value) { SetCloudFrontOriginAccessIdentityConfig(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetId() const{ return m_id; }
77 
81  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
82 
86  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
87 
91  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
92 
96  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
97 
101  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
102 
106  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
107 
111  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
112 
113 
118  inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
119 
124  inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
125 
130  inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
131 
136  inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
137 
142  inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
143 
148  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
149 
154  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
155 
160  inline UpdateCloudFrontOriginAccessIdentity2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
161 
162  private:
163 
164  CloudFrontOriginAccessIdentityConfig m_cloudFrontOriginAccessIdentityConfig;
165  bool m_cloudFrontOriginAccessIdentityConfigHasBeenSet;
166 
167  Aws::String m_id;
168  bool m_idHasBeenSet;
169 
170  Aws::String m_ifMatch;
171  bool m_ifMatchHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace CloudFront
176 } // namespace Aws
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithId
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithId(const Aws::String &value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:101
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:35
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
CloudFrontRequest.h
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:27
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:81
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithId
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithId(const char *value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:111
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:91
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetIfMatch
void SetIfMatch(Aws::String &&value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:136
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::GetIfMatch
const Aws::String & GetIfMatch() const
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:118
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithCloudFrontOriginAccessIdentityConfig
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig &&value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:70
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetId
void SetId(const char *value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:96
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetCloudFrontOriginAccessIdentityConfig
void SetCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig &&value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:60
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetIfMatch
void SetIfMatch(const char *value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:142
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::GetCloudFrontOriginAccessIdentityConfig
const CloudFrontOriginAccessIdentityConfig & GetCloudFrontOriginAccessIdentityConfig() const
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:45
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithIfMatch
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithIfMatch(const char *value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:160
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::UpdateCloudFrontOriginAccessIdentity2020_05_31Request
UpdateCloudFrontOriginAccessIdentity2020_05_31Request()
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithCloudFrontOriginAccessIdentityConfig
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig &value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:65
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:76
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetIfMatch
void SetIfMatch(const Aws::String &value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:130
AWSString.h
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:86
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithId
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithId(Aws::String &&value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:106
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithIfMatch
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithIfMatch(Aws::String &&value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:154
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityConfig
Definition: CloudFrontOriginAccessIdentityConfig.h:33
CloudFront_EXPORTS.h
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::CloudFrontOriginAccessIdentityConfigHasBeenSet
bool CloudFrontOriginAccessIdentityConfigHasBeenSet() const
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:50
Aws
Definition: AccessManagementClient.h:15
CloudFrontOriginAccessIdentityConfig.h
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::WithIfMatch
UpdateCloudFrontOriginAccessIdentity2020_05_31Request & WithIfMatch(const Aws::String &value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::IfMatchHasBeenSet
bool IfMatchHasBeenSet() const
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:124
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::SetCloudFrontOriginAccessIdentityConfig
void SetCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig &value)
Definition: UpdateCloudFrontOriginAccessIdentity2020_05_31Request.h:55
Aws::CloudFront::Model::UpdateCloudFrontOriginAccessIdentity2020_05_31Request::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override