AWS SDK for C++  1.9.14
AWS SDK for C++
UpdateKeyGroup2020_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 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateKeyGroup"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const KeyGroupConfig& GetKeyGroupConfig() const{ return m_keyGroupConfig; }
42 
46  inline bool KeyGroupConfigHasBeenSet() const { return m_keyGroupConfigHasBeenSet; }
47 
51  inline void SetKeyGroupConfig(const KeyGroupConfig& value) { m_keyGroupConfigHasBeenSet = true; m_keyGroupConfig = value; }
52 
56  inline void SetKeyGroupConfig(KeyGroupConfig&& value) { m_keyGroupConfigHasBeenSet = true; m_keyGroupConfig = std::move(value); }
57 
61  inline UpdateKeyGroup2020_05_31Request& WithKeyGroupConfig(const KeyGroupConfig& value) { SetKeyGroupConfig(value); return *this;}
62 
66  inline UpdateKeyGroup2020_05_31Request& WithKeyGroupConfig(KeyGroupConfig&& value) { SetKeyGroupConfig(std::move(value)); return *this;}
67 
68 
72  inline const Aws::String& GetId() const{ return m_id; }
73 
77  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
78 
82  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
83 
87  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
88 
92  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
93 
97  inline UpdateKeyGroup2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
98 
102  inline UpdateKeyGroup2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
103 
107  inline UpdateKeyGroup2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
108 
109 
114  inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
115 
120  inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
121 
126  inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
127 
132  inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
133 
138  inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
139 
144  inline UpdateKeyGroup2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
145 
150  inline UpdateKeyGroup2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
151 
156  inline UpdateKeyGroup2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
157 
158  private:
159 
160  KeyGroupConfig m_keyGroupConfig;
161  bool m_keyGroupConfigHasBeenSet;
162 
163  Aws::String m_id;
164  bool m_idHasBeenSet;
165 
166  Aws::String m_ifMatch;
167  bool m_ifMatchHasBeenSet;
168  };
169 
170 } // namespace Model
171 } // namespace CloudFront
172 } // namespace Aws
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::GetKeyGroupConfig
const KeyGroupConfig & GetKeyGroupConfig() const
Definition: UpdateKeyGroup2020_05_31Request.h:41
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetKeyGroupConfig
void SetKeyGroupConfig(const KeyGroupConfig &value)
Definition: UpdateKeyGroup2020_05_31Request.h:51
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::GetIfMatch
const Aws::String & GetIfMatch() const
Definition: UpdateKeyGroup2020_05_31Request.h:114
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithId
UpdateKeyGroup2020_05_31Request & WithId(const Aws::String &value)
Definition: UpdateKeyGroup2020_05_31Request.h:97
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateKeyGroup2020_05_31Request.h:31
CloudFrontRequest.h
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithKeyGroupConfig
UpdateKeyGroup2020_05_31Request & WithKeyGroupConfig(const KeyGroupConfig &value)
Definition: UpdateKeyGroup2020_05_31Request.h:61
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetIfMatch
void SetIfMatch(const char *value)
Definition: UpdateKeyGroup2020_05_31Request.h:138
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: UpdateKeyGroup2020_05_31Request.h:87
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetIfMatch
void SetIfMatch(const Aws::String &value)
Definition: UpdateKeyGroup2020_05_31Request.h:126
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithIfMatch
UpdateKeyGroup2020_05_31Request & WithIfMatch(const Aws::String &value)
Definition: UpdateKeyGroup2020_05_31Request.h:144
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::UpdateKeyGroup2020_05_31Request
UpdateKeyGroup2020_05_31Request()
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithKeyGroupConfig
UpdateKeyGroup2020_05_31Request & WithKeyGroupConfig(KeyGroupConfig &&value)
Definition: UpdateKeyGroup2020_05_31Request.h:66
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetIfMatch
void SetIfMatch(Aws::String &&value)
Definition: UpdateKeyGroup2020_05_31Request.h:132
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetKeyGroupConfig
void SetKeyGroupConfig(KeyGroupConfig &&value)
Definition: UpdateKeyGroup2020_05_31Request.h:56
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: UpdateKeyGroup2020_05_31Request.h:72
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithId
UpdateKeyGroup2020_05_31Request & WithId(Aws::String &&value)
Definition: UpdateKeyGroup2020_05_31Request.h:102
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::KeyGroupConfigHasBeenSet
bool KeyGroupConfigHasBeenSet() const
Definition: UpdateKeyGroup2020_05_31Request.h:46
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithIfMatch
UpdateKeyGroup2020_05_31Request & WithIfMatch(const char *value)
Definition: UpdateKeyGroup2020_05_31Request.h:156
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: UpdateKeyGroup2020_05_31Request.h:82
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::SetId
void SetId(const char *value)
Definition: UpdateKeyGroup2020_05_31Request.h:92
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateKeyGroup2020_05_31Request.h:77
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::IfMatchHasBeenSet
bool IfMatchHasBeenSet() const
Definition: UpdateKeyGroup2020_05_31Request.h:120
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithId
UpdateKeyGroup2020_05_31Request & WithId(const char *value)
Definition: UpdateKeyGroup2020_05_31Request.h:107
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::KeyGroupConfig
Definition: KeyGroupConfig.h:35
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::WithIfMatch
UpdateKeyGroup2020_05_31Request & WithIfMatch(Aws::String &&value)
Definition: UpdateKeyGroup2020_05_31Request.h:150
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::UpdateKeyGroup2020_05_31Request
Definition: UpdateKeyGroup2020_05_31Request.h:23
KeyGroupConfig.h