AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResolverConfig.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53resolver/model/ResolverAutodefinedReverseStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53Resolver
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53RESOLVER_API ResolverConfig();
37 AWS_ROUTE53RESOLVER_API ResolverConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RESOLVER_API ResolverConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ResolverConfig& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ResolverConfig& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ResolverConfig& WithId(const char* value) { SetId(value); return *this;}
55
57
61 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
62 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
63 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
64 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
65 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
66 inline ResolverConfig& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
67 inline ResolverConfig& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
68 inline ResolverConfig& WithResourceId(const char* value) { SetResourceId(value); return *this;}
70
72
75 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
76 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
77 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
78 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
79 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
80 inline ResolverConfig& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
81 inline ResolverConfig& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
82 inline ResolverConfig& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
84
86
96 inline const ResolverAutodefinedReverseStatus& GetAutodefinedReverse() const{ return m_autodefinedReverse; }
97 inline bool AutodefinedReverseHasBeenSet() const { return m_autodefinedReverseHasBeenSet; }
98 inline void SetAutodefinedReverse(const ResolverAutodefinedReverseStatus& value) { m_autodefinedReverseHasBeenSet = true; m_autodefinedReverse = value; }
99 inline void SetAutodefinedReverse(ResolverAutodefinedReverseStatus&& value) { m_autodefinedReverseHasBeenSet = true; m_autodefinedReverse = std::move(value); }
103 private:
104
105 Aws::String m_id;
106 bool m_idHasBeenSet = false;
107
108 Aws::String m_resourceId;
109 bool m_resourceIdHasBeenSet = false;
110
111 Aws::String m_ownerId;
112 bool m_ownerIdHasBeenSet = false;
113
114 ResolverAutodefinedReverseStatus m_autodefinedReverse;
115 bool m_autodefinedReverseHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Route53Resolver
120} // namespace Aws
ResolverConfig & WithOwnerId(Aws::String &&value)
void SetAutodefinedReverse(const ResolverAutodefinedReverseStatus &value)
const ResolverAutodefinedReverseStatus & GetAutodefinedReverse() const
void SetOwnerId(const Aws::String &value)
void SetResourceId(const Aws::String &value)
ResolverConfig & WithId(const char *value)
ResolverConfig & WithOwnerId(const char *value)
ResolverConfig & WithResourceId(Aws::String &&value)
void SetId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
ResolverConfig & WithId(const Aws::String &value)
ResolverConfig & WithResourceId(const Aws::String &value)
void SetAutodefinedReverse(ResolverAutodefinedReverseStatus &&value)
ResolverConfig & WithId(Aws::String &&value)
AWS_ROUTE53RESOLVER_API ResolverConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
ResolverConfig & WithAutodefinedReverse(ResolverAutodefinedReverseStatus &&value)
AWS_ROUTE53RESOLVER_API ResolverConfig()
ResolverConfig & WithOwnerId(const Aws::String &value)
ResolverConfig & WithResourceId(const char *value)
ResolverConfig & WithAutodefinedReverse(const ResolverAutodefinedReverseStatus &value)
AWS_ROUTE53RESOLVER_API ResolverConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue