AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Route53GlobalResolver {
15namespace Model {
16
20 public:
21 AWS_ROUTE53GLOBALRESOLVER_API UpdateGlobalResolverRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlobalResolver"; }
28
29 AWS_ROUTE53GLOBALRESOLVER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetGlobalResolverId() const { return m_globalResolverId; }
36 inline bool GlobalResolverIdHasBeenSet() const { return m_globalResolverIdHasBeenSet; }
37 template <typename GlobalResolverIdT = Aws::String>
38 void SetGlobalResolverId(GlobalResolverIdT&& value) {
39 m_globalResolverIdHasBeenSet = true;
40 m_globalResolverId = std::forward<GlobalResolverIdT>(value);
41 }
42 template <typename GlobalResolverIdT = Aws::String>
44 SetGlobalResolverId(std::forward<GlobalResolverIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetObservabilityRegion() const { return m_observabilityRegion; }
73 inline bool ObservabilityRegionHasBeenSet() const { return m_observabilityRegionHasBeenSet; }
74 template <typename ObservabilityRegionT = Aws::String>
75 void SetObservabilityRegion(ObservabilityRegionT&& value) {
76 m_observabilityRegionHasBeenSet = true;
77 m_observabilityRegion = std::forward<ObservabilityRegionT>(value);
78 }
79 template <typename ObservabilityRegionT = Aws::String>
81 SetObservabilityRegion(std::forward<ObservabilityRegionT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_globalResolverId;
105
106 Aws::String m_name;
107
108 Aws::String m_observabilityRegion;
109
110 Aws::String m_description;
111 bool m_globalResolverIdHasBeenSet = false;
112 bool m_nameHasBeenSet = false;
113 bool m_observabilityRegionHasBeenSet = false;
114 bool m_descriptionHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Route53GlobalResolver
119} // namespace Aws
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