AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateGlobalResolverRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53globalresolver/Route53GlobalResolverRequest.h>
9#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
10#include <aws/route53globalresolver/model/GlobalResolverIpAddressType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Route53GlobalResolver {
16namespace Model {
17
21 public:
22 AWS_ROUTE53GLOBALRESOLVER_API UpdateGlobalResolverRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlobalResolver"; }
29
30 AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGlobalResolverId() const { return m_globalResolverId; }
37 inline bool GlobalResolverIdHasBeenSet() const { return m_globalResolverIdHasBeenSet; }
38 template <typename GlobalResolverIdT = Aws::String>
39 void SetGlobalResolverId(GlobalResolverIdT&& value) {
40 m_globalResolverIdHasBeenSet = true;
41 m_globalResolverId = std::forward<GlobalResolverIdT>(value);
42 }
43 template <typename GlobalResolverIdT = Aws::String>
45 SetGlobalResolverId(std::forward<GlobalResolverIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetObservabilityRegion() const { return m_observabilityRegion; }
74 inline bool ObservabilityRegionHasBeenSet() const { return m_observabilityRegionHasBeenSet; }
75 template <typename ObservabilityRegionT = Aws::String>
76 void SetObservabilityRegion(ObservabilityRegionT&& value) {
77 m_observabilityRegionHasBeenSet = true;
78 m_observabilityRegion = std::forward<ObservabilityRegionT>(value);
79 }
80 template <typename ObservabilityRegionT = Aws::String>
82 SetObservabilityRegion(std::forward<ObservabilityRegionT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 template <typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) {
95 m_descriptionHasBeenSet = true;
96 m_description = std::forward<DescriptionT>(value);
97 }
98 template <typename DescriptionT = Aws::String>
100 SetDescription(std::forward<DescriptionT>(value));
101 return *this;
102 }
104
106
110 inline GlobalResolverIpAddressType GetIpAddressType() const { return m_ipAddressType; }
111 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
113 m_ipAddressTypeHasBeenSet = true;
114 m_ipAddressType = value;
115 }
117 SetIpAddressType(value);
118 return *this;
119 }
121 private:
122 Aws::String m_globalResolverId;
123
124 Aws::String m_name;
125
126 Aws::String m_observabilityRegion;
127
128 Aws::String m_description;
129
131 bool m_globalResolverIdHasBeenSet = false;
132 bool m_nameHasBeenSet = false;
133 bool m_observabilityRegionHasBeenSet = false;
134 bool m_descriptionHasBeenSet = false;
135 bool m_ipAddressTypeHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Route53GlobalResolver
140} // namespace Aws
UpdateGlobalResolverRequest & WithIpAddressType(GlobalResolverIpAddressType value)
UpdateGlobalResolverRequest & WithObservabilityRegion(ObservabilityRegionT &&value)
AWS_ROUTE53GLOBALRESOLVER_API UpdateGlobalResolverRequest()=default
UpdateGlobalResolverRequest & WithGlobalResolverId(GlobalResolverIdT &&value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override
UpdateGlobalResolverRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String