AWS SDK for C++  1.9.131
AWS SDK for C++
PutAccessPointConfigurationForObjectLambdaRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace S3Control
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 "PutAccessPointConfigurationForObjectLambda"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetAccountId() const{ return m_accountId; }
43 
48  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 
54  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 
60  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
61 
66  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
67 
72  inline PutAccessPointConfigurationForObjectLambdaRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
73 
78  inline PutAccessPointConfigurationForObjectLambdaRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
79 
84  inline PutAccessPointConfigurationForObjectLambdaRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
85 
86 
90  inline const Aws::String& GetName() const{ return m_name; }
91 
95  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 
100  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 
105  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
106 
110  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
111 
115  inline PutAccessPointConfigurationForObjectLambdaRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
116 
120  inline PutAccessPointConfigurationForObjectLambdaRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
121 
125  inline PutAccessPointConfigurationForObjectLambdaRequest& WithName(const char* value) { SetName(value); return *this;}
126 
127 
131  inline const ObjectLambdaConfiguration& GetConfiguration() const{ return m_configuration; }
132 
136  inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
137 
141  inline void SetConfiguration(const ObjectLambdaConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
142 
146  inline void SetConfiguration(ObjectLambdaConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
147 
151  inline PutAccessPointConfigurationForObjectLambdaRequest& WithConfiguration(const ObjectLambdaConfiguration& value) { SetConfiguration(value); return *this;}
152 
156  inline PutAccessPointConfigurationForObjectLambdaRequest& WithConfiguration(ObjectLambdaConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
157 
158  private:
159 
160  Aws::String m_accountId;
161  bool m_accountIdHasBeenSet;
162 
163  Aws::String m_name;
164  bool m_nameHasBeenSet;
165 
166  ObjectLambdaConfiguration m_configuration;
167  bool m_configurationHasBeenSet;
168  };
169 
170 } // namespace Model
171 } // namespace S3Control
172 } // namespace Aws
Aws::S3Control::S3ControlRequest
Definition: S3ControlRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetName
void SetName(const Aws::String &value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:100
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:42
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithName
PutAccessPointConfigurationForObjectLambdaRequest & WithName(const Aws::String &value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:115
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithAccountId
PutAccessPointConfigurationForObjectLambdaRequest & WithAccountId(const char *value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:84
ObjectLambdaConfiguration.h
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:23
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetName
void SetName(Aws::String &&value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:105
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetAccountId
void SetAccountId(const char *value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:66
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::GetConfiguration
const ObjectLambdaConfiguration & GetConfiguration() const
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:131
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::PutAccessPointConfigurationForObjectLambdaRequest
PutAccessPointConfigurationForObjectLambdaRequest()
S3Control_EXPORTS.h
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetConfiguration
void SetConfiguration(const ObjectLambdaConfiguration &value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:141
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:48
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithConfiguration
PutAccessPointConfigurationForObjectLambdaRequest & WithConfiguration(const ObjectLambdaConfiguration &value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:151
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::ObjectLambdaConfiguration
Definition: ObjectLambdaConfiguration.h:35
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithName
PutAccessPointConfigurationForObjectLambdaRequest & WithName(Aws::String &&value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:120
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::GetName
const Aws::String & GetName() const
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:90
AWSString.h
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithAccountId
PutAccessPointConfigurationForObjectLambdaRequest & WithAccountId(const Aws::String &value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:72
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:95
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:31
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithName
PutAccessPointConfigurationForObjectLambdaRequest & WithName(const char *value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:125
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:54
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithAccountId
PutAccessPointConfigurationForObjectLambdaRequest & WithAccountId(Aws::String &&value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3ControlRequest.h
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::WithConfiguration
PutAccessPointConfigurationForObjectLambdaRequest & WithConfiguration(ObjectLambdaConfiguration &&value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:156
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetName
void SetName(const char *value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:110
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::SetConfiguration
void SetConfiguration(ObjectLambdaConfiguration &&value)
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:146
Aws::S3Control::Model::PutAccessPointConfigurationForObjectLambdaRequest::ConfigurationHasBeenSet
bool ConfigurationHasBeenSet() const
Definition: PutAccessPointConfigurationForObjectLambdaRequest.h:136