AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateFieldLevelEncryptionConfig2020_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 "UpdateFieldLevelEncryptionConfig"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const FieldLevelEncryptionConfig& GetFieldLevelEncryptionConfig() const{ return m_fieldLevelEncryptionConfig; }
42 
46  inline bool FieldLevelEncryptionConfigHasBeenSet() const { return m_fieldLevelEncryptionConfigHasBeenSet; }
47 
51  inline void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = value; }
52 
56  inline void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = std::move(value); }
57 
61  inline UpdateFieldLevelEncryptionConfig2020_05_31Request& WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { SetFieldLevelEncryptionConfig(value); return *this;}
62 
66  inline UpdateFieldLevelEncryptionConfig2020_05_31Request& WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { SetFieldLevelEncryptionConfig(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 UpdateFieldLevelEncryptionConfig2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
98 
102  inline UpdateFieldLevelEncryptionConfig2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
103 
107  inline UpdateFieldLevelEncryptionConfig2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
108 
109 
115  inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
116 
122  inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
123 
129  inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
130 
136  inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
137 
143  inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
144 
150  inline UpdateFieldLevelEncryptionConfig2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
151 
157  inline UpdateFieldLevelEncryptionConfig2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
158 
164  inline UpdateFieldLevelEncryptionConfig2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
165 
166  private:
167 
168  FieldLevelEncryptionConfig m_fieldLevelEncryptionConfig;
169  bool m_fieldLevelEncryptionConfigHasBeenSet;
170 
171  Aws::String m_id;
172  bool m_idHasBeenSet;
173 
174  Aws::String m_ifMatch;
175  bool m_ifMatchHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace CloudFront
180 } // namespace Aws
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithFieldLevelEncryptionConfig
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:61
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:23
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithId
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithId(const char *value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:107
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::FieldLevelEncryptionConfigHasBeenSet
bool FieldLevelEncryptionConfigHasBeenSet() const
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:46
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::GetFieldLevelEncryptionConfig
const FieldLevelEncryptionConfig & GetFieldLevelEncryptionConfig() const
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:41
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetIfMatch
void SetIfMatch(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:136
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithIfMatch
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithIfMatch(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:157
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithIfMatch
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithIfMatch(const char *value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:164
CloudFrontRequest.h
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithIfMatch
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithIfMatch(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:150
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetFieldLevelEncryptionConfig
void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:56
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::IfMatchHasBeenSet
bool IfMatchHasBeenSet() const
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:122
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:77
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::GetIfMatch
const Aws::String & GetIfMatch() const
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:115
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithFieldLevelEncryptionConfig
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:66
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:82
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetFieldLevelEncryptionConfig
void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:51
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:72
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithId
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithId(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:102
AWSString.h
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:87
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetId
void SetId(const char *value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:92
CloudFront_EXPORTS.h
FieldLevelEncryptionConfig.h
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::UpdateFieldLevelEncryptionConfig2020_05_31Request
UpdateFieldLevelEncryptionConfig2020_05_31Request()
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryptionConfig
Definition: FieldLevelEncryptionConfig.h:34
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::WithId
UpdateFieldLevelEncryptionConfig2020_05_31Request & WithId(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:31
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetIfMatch
void SetIfMatch(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:129
Aws::CloudFront::Model::UpdateFieldLevelEncryptionConfig2020_05_31Request::SetIfMatch
void SetIfMatch(const char *value)
Definition: UpdateFieldLevelEncryptionConfig2020_05_31Request.h:143