AWS SDK for C++  1.9.40
AWS SDK for C++
GetAccessPointPolicyForObjectLambdaRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace S3Control
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetAccessPointPolicyForObjectLambda"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetAccountId() const{ return m_accountId; }
42 
47  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 
53  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
54 
59  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
60 
65  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
66 
71  inline GetAccessPointPolicyForObjectLambdaRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
72 
77  inline GetAccessPointPolicyForObjectLambdaRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
78 
83  inline GetAccessPointPolicyForObjectLambdaRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
84 
85 
89  inline const Aws::String& GetName() const{ return m_name; }
90 
94  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 
99  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
100 
104  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 
109  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 
114  inline GetAccessPointPolicyForObjectLambdaRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
115 
119  inline GetAccessPointPolicyForObjectLambdaRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 
124  inline GetAccessPointPolicyForObjectLambdaRequest& WithName(const char* value) { SetName(value); return *this;}
125 
126  private:
127 
128  Aws::String m_accountId;
129  bool m_accountIdHasBeenSet;
130 
131  Aws::String m_name;
132  bool m_nameHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace S3Control
137 } // namespace Aws
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:59
Aws::S3Control::S3ControlRequest
Definition: S3ControlRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::GetAccessPointPolicyForObjectLambdaRequest
GetAccessPointPolicyForObjectLambdaRequest()
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::SetName
void SetName(Aws::String &&value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:104
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:47
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::SetAccountId
void SetAccountId(const char *value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:65
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::WithName
GetAccessPointPolicyForObjectLambdaRequest & WithName(Aws::String &&value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:119
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:41
S3Control_EXPORTS.h
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::WithAccountId
GetAccessPointPolicyForObjectLambdaRequest & WithAccountId(const Aws::String &value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:71
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::WithAccountId
GetAccessPointPolicyForObjectLambdaRequest & WithAccountId(Aws::String &&value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:77
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::SetName
void SetName(const char *value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:109
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::SetName
void SetName(const Aws::String &value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:99
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
AWSString.h
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::WithName
GetAccessPointPolicyForObjectLambdaRequest & WithName(const Aws::String &value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:114
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::WithAccountId
GetAccessPointPolicyForObjectLambdaRequest & WithAccountId(const char *value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::GetName
const Aws::String & GetName() const
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:89
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::WithName
GetAccessPointPolicyForObjectLambdaRequest & WithName(const char *value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3ControlRequest.h
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:30
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:22
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:94
Aws::S3Control::Model::GetAccessPointPolicyForObjectLambdaRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: GetAccessPointPolicyForObjectLambdaRequest.h:53