AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMultiRegionAccessPointRequest.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/CreateMultiRegionAccessPointInput.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace S3Control
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateMultiRegionAccessPoint"; }
33
34 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
35
37
38 AWS_S3CONTROL_API inline bool ShouldComputeContentMd5() const override { return true; }
39
43 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
44
46
51 inline const Aws::String& GetAccountId() const{ return m_accountId; }
52 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
53 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
54 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
55 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
56 inline CreateMultiRegionAccessPointRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
57 inline CreateMultiRegionAccessPointRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
58 inline CreateMultiRegionAccessPointRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
60
62
66 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
67 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
68 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
69 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
70 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
72 inline CreateMultiRegionAccessPointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
73 inline CreateMultiRegionAccessPointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
75
77
81 inline const CreateMultiRegionAccessPointInput& GetDetails() const{ return m_details; }
82 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
83 inline void SetDetails(const CreateMultiRegionAccessPointInput& value) { m_detailsHasBeenSet = true; m_details = value; }
84 inline void SetDetails(CreateMultiRegionAccessPointInput&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
88 private:
89
90 Aws::String m_accountId;
91 bool m_accountIdHasBeenSet = false;
92
93 Aws::String m_clientToken;
94 bool m_clientTokenHasBeenSet = false;
95
97 bool m_detailsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace S3Control
102} // namespace Aws
AWS_S3CONTROL_API Aws::String SerializePayload() const override
CreateMultiRegionAccessPointRequest & WithClientToken(Aws::String &&value)
void SetDetails(const CreateMultiRegionAccessPointInput &value)
CreateMultiRegionAccessPointRequest & WithAccountId(Aws::String &&value)
CreateMultiRegionAccessPointRequest & WithAccountId(const Aws::String &value)
CreateMultiRegionAccessPointRequest & WithDetails(CreateMultiRegionAccessPointInput &&value)
CreateMultiRegionAccessPointRequest & WithAccountId(const char *value)
CreateMultiRegionAccessPointRequest & WithDetails(const CreateMultiRegionAccessPointInput &value)
CreateMultiRegionAccessPointRequest & WithClientToken(const char *value)
CreateMultiRegionAccessPointRequest & WithClientToken(const Aws::String &value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String