AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateMultiRegionEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sesv2/SESV2Request.h>
10#include <aws/sesv2/SESV2_EXPORTS.h>
11#include <aws/sesv2/model/Details.h>
12#include <aws/sesv2/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SESV2 {
18namespace Model {
19
27 public:
28 AWS_SESV2_API CreateMultiRegionEndpointRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateMultiRegionEndpoint"; }
35
36 AWS_SESV2_API Aws::String SerializePayload() const override;
37
39
42 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
43 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
44 template <typename EndpointNameT = Aws::String>
45 void SetEndpointName(EndpointNameT&& value) {
46 m_endpointNameHasBeenSet = true;
47 m_endpointName = std::forward<EndpointNameT>(value);
48 }
49 template <typename EndpointNameT = Aws::String>
51 SetEndpointName(std::forward<EndpointNameT>(value));
52 return *this;
53 }
55
57
61 inline const Details& GetDetails() const { return m_details; }
62 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
63 template <typename DetailsT = Details>
64 void SetDetails(DetailsT&& value) {
65 m_detailsHasBeenSet = true;
66 m_details = std::forward<DetailsT>(value);
67 }
68 template <typename DetailsT = Details>
70 SetDetails(std::forward<DetailsT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 template <typename TagsT = Aws::Vector<Tag>>
83 void SetTags(TagsT&& value) {
84 m_tagsHasBeenSet = true;
85 m_tags = std::forward<TagsT>(value);
86 }
87 template <typename TagsT = Aws::Vector<Tag>>
89 SetTags(std::forward<TagsT>(value));
90 return *this;
91 }
92 template <typename TagsT = Tag>
94 m_tagsHasBeenSet = true;
95 m_tags.emplace_back(std::forward<TagsT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_endpointName;
101
102 Details m_details;
103
104 Aws::Vector<Tag> m_tags;
105 bool m_endpointNameHasBeenSet = false;
106 bool m_detailsHasBeenSet = false;
107 bool m_tagsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace SESV2
112} // namespace Aws
AWS_SESV2_API Aws::String SerializePayload() const override
CreateMultiRegionEndpointRequest & WithEndpointName(EndpointNameT &&value)
CreateMultiRegionEndpointRequest & WithDetails(DetailsT &&value)
CreateMultiRegionEndpointRequest & WithTags(TagsT &&value)
CreateMultiRegionEndpointRequest & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector