AWS SDK for C++  1.9.20
AWS SDK for C++
UpdateFieldLevelEncryptionProfile2020_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 "UpdateFieldLevelEncryptionProfile"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const FieldLevelEncryptionProfileConfig& GetFieldLevelEncryptionProfileConfig() const{ return m_fieldLevelEncryptionProfileConfig; }
42 
46  inline bool FieldLevelEncryptionProfileConfigHasBeenSet() const { return m_fieldLevelEncryptionProfileConfigHasBeenSet; }
47 
51  inline void SetFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig& value) { m_fieldLevelEncryptionProfileConfigHasBeenSet = true; m_fieldLevelEncryptionProfileConfig = value; }
52 
56  inline void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig&& value) { m_fieldLevelEncryptionProfileConfigHasBeenSet = true; m_fieldLevelEncryptionProfileConfig = std::move(value); }
57 
61  inline UpdateFieldLevelEncryptionProfile2020_05_31Request& WithFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig& value) { SetFieldLevelEncryptionProfileConfig(value); return *this;}
62 
66  inline UpdateFieldLevelEncryptionProfile2020_05_31Request& WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig&& value) { SetFieldLevelEncryptionProfileConfig(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 UpdateFieldLevelEncryptionProfile2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
98 
102  inline UpdateFieldLevelEncryptionProfile2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
103 
107  inline UpdateFieldLevelEncryptionProfile2020_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 UpdateFieldLevelEncryptionProfile2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
145 
150  inline UpdateFieldLevelEncryptionProfile2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
151 
156  inline UpdateFieldLevelEncryptionProfile2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
157 
158  private:
159 
160  FieldLevelEncryptionProfileConfig m_fieldLevelEncryptionProfileConfig;
161  bool m_fieldLevelEncryptionProfileConfigHasBeenSet;
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::UpdateFieldLevelEncryptionProfile2020_05_31Request::GetFieldLevelEncryptionProfileConfig
const FieldLevelEncryptionProfileConfig & GetFieldLevelEncryptionProfileConfig() const
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:41
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:87
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetFieldLevelEncryptionProfileConfig
void SetFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig &value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:51
CloudFrontRequest.h
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithId
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithId(const char *value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:107
Aws::CloudFront::Model::FieldLevelEncryptionProfileConfig
Definition: FieldLevelEncryptionProfileConfig.h:33
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithId
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithId(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:102
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetId
void SetId(const char *value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:92
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:72
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::GetIfMatch
const Aws::String & GetIfMatch() const
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:114
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithId
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithId(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:97
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::UpdateFieldLevelEncryptionProfile2020_05_31Request
UpdateFieldLevelEncryptionProfile2020_05_31Request()
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetIfMatch
void SetIfMatch(const char *value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:138
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:82
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithFieldLevelEncryptionProfileConfig
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithFieldLevelEncryptionProfileConfig(const FieldLevelEncryptionProfileConfig &value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:61
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithIfMatch
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithIfMatch(const char *value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:156
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetIfMatch
void SetIfMatch(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:126
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetFieldLevelEncryptionProfileConfig
void SetFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig &&value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:56
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:23
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithFieldLevelEncryptionProfileConfig
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithFieldLevelEncryptionProfileConfig(FieldLevelEncryptionProfileConfig &&value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:66
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SetIfMatch
void SetIfMatch(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:132
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:31
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:77
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::IfMatchHasBeenSet
bool IfMatchHasBeenSet() const
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:120
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::FieldLevelEncryptionProfileConfigHasBeenSet
bool FieldLevelEncryptionProfileConfigHasBeenSet() const
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:46
CloudFront_EXPORTS.h
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithIfMatch
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithIfMatch(Aws::String &&value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:150
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
FieldLevelEncryptionProfileConfig.h
Aws::CloudFront::Model::UpdateFieldLevelEncryptionProfile2020_05_31Request::WithIfMatch
UpdateFieldLevelEncryptionProfile2020_05_31Request & WithIfMatch(const Aws::String &value)
Definition: UpdateFieldLevelEncryptionProfile2020_05_31Request.h:144