AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateOutpostResolverRequest.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Route53Resolver
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ROUTE53RESOLVER_API UpdateOutpostResolverRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateOutpostResolver"; }
31
32 AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override;
33
34 AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 UpdateOutpostResolverRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdateOutpostResolverRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
65 inline int GetInstanceCount() const { return m_instanceCount; }
66 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
67 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
68 inline UpdateOutpostResolverRequest& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
70
72
75 inline const Aws::String& GetPreferredInstanceType() const { return m_preferredInstanceType; }
76 inline bool PreferredInstanceTypeHasBeenSet() const { return m_preferredInstanceTypeHasBeenSet; }
77 template<typename PreferredInstanceTypeT = Aws::String>
78 void SetPreferredInstanceType(PreferredInstanceTypeT&& value) { m_preferredInstanceTypeHasBeenSet = true; m_preferredInstanceType = std::forward<PreferredInstanceTypeT>(value); }
79 template<typename PreferredInstanceTypeT = Aws::String>
80 UpdateOutpostResolverRequest& WithPreferredInstanceType(PreferredInstanceTypeT&& value) { SetPreferredInstanceType(std::forward<PreferredInstanceTypeT>(value)); return *this;}
82 private:
83
84 Aws::String m_id;
85 bool m_idHasBeenSet = false;
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
90 int m_instanceCount{0};
91 bool m_instanceCountHasBeenSet = false;
92
93 Aws::String m_preferredInstanceType;
94 bool m_preferredInstanceTypeHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Route53Resolver
99} // 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