AWS SDK for C++

AWS SDK for C++ Version 1.11.677

Loading...
Searching...
No Matches
UpdateOutpostResolverRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53Resolver {
15namespace Model {
16
20 public:
21 AWS_ROUTE53RESOLVER_API UpdateOutpostResolverRequest() = 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 "UpdateOutpostResolver"; }
28
29 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
30
31 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline int GetInstanceCount() const { return m_instanceCount; }
74 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
75 inline void SetInstanceCount(int value) {
76 m_instanceCountHasBeenSet = true;
77 m_instanceCount = value;
78 }
80 SetInstanceCount(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetPreferredInstanceType() const { return m_preferredInstanceType; }
90 inline bool PreferredInstanceTypeHasBeenSet() const { return m_preferredInstanceTypeHasBeenSet; }
91 template <typename PreferredInstanceTypeT = Aws::String>
92 void SetPreferredInstanceType(PreferredInstanceTypeT&& value) {
93 m_preferredInstanceTypeHasBeenSet = true;
94 m_preferredInstanceType = std::forward<PreferredInstanceTypeT>(value);
95 }
96 template <typename PreferredInstanceTypeT = Aws::String>
98 SetPreferredInstanceType(std::forward<PreferredInstanceTypeT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_id;
104 bool m_idHasBeenSet = false;
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 int m_instanceCount{0};
110 bool m_instanceCountHasBeenSet = false;
111
112 Aws::String m_preferredInstanceType;
113 bool m_preferredInstanceTypeHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace Route53Resolver
118} // namespace Aws
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
UpdateOutpostResolverRequest & WithPreferredInstanceType(PreferredInstanceTypeT &&value)
AWS_ROUTE53RESOLVER_API UpdateOutpostResolverRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String