AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResolverRuleAssociation.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/ResolverRuleAssociationStatus.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
41 {
42 public:
43 AWS_ROUTE53RESOLVER_API ResolverRuleAssociation();
44 AWS_ROUTE53RESOLVER_API ResolverRuleAssociation(Aws::Utils::Json::JsonView jsonValue);
46 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 inline ResolverRuleAssociation& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline ResolverRuleAssociation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline ResolverRuleAssociation& WithId(const char* value) { SetId(value); return *this;}
65
67
71 inline const Aws::String& GetResolverRuleId() const{ return m_resolverRuleId; }
72 inline bool ResolverRuleIdHasBeenSet() const { return m_resolverRuleIdHasBeenSet; }
73 inline void SetResolverRuleId(const Aws::String& value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId = value; }
74 inline void SetResolverRuleId(Aws::String&& value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId = std::move(value); }
75 inline void SetResolverRuleId(const char* value) { m_resolverRuleIdHasBeenSet = true; m_resolverRuleId.assign(value); }
76 inline ResolverRuleAssociation& WithResolverRuleId(const Aws::String& value) { SetResolverRuleId(value); return *this;}
77 inline ResolverRuleAssociation& WithResolverRuleId(Aws::String&& value) { SetResolverRuleId(std::move(value)); return *this;}
78 inline ResolverRuleAssociation& WithResolverRuleId(const char* value) { SetResolverRuleId(value); return *this;}
80
82
85 inline const Aws::String& GetName() const{ return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
88 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
89 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
90 inline ResolverRuleAssociation& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline ResolverRuleAssociation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline ResolverRuleAssociation& WithName(const char* value) { SetName(value); return *this;}
94
96
99 inline const Aws::String& GetVPCId() const{ return m_vPCId; }
100 inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
101 inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; }
102 inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); }
103 inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); }
104 inline ResolverRuleAssociation& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;}
105 inline ResolverRuleAssociation& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;}
106 inline ResolverRuleAssociation& WithVPCId(const char* value) { SetVPCId(value); return *this;}
108
110
114 inline const ResolverRuleAssociationStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const ResolverRuleAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(ResolverRuleAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline ResolverRuleAssociation& WithStatus(const ResolverRuleAssociationStatus& value) { SetStatus(value); return *this;}
119 inline ResolverRuleAssociation& WithStatus(ResolverRuleAssociationStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
127 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
128 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
129 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
130 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
131 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
132 inline ResolverRuleAssociation& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
133 inline ResolverRuleAssociation& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
134 inline ResolverRuleAssociation& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
136 private:
137
138 Aws::String m_id;
139 bool m_idHasBeenSet = false;
140
141 Aws::String m_resolverRuleId;
142 bool m_resolverRuleIdHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::String m_vPCId;
148 bool m_vPCIdHasBeenSet = false;
149
151 bool m_statusHasBeenSet = false;
152
153 Aws::String m_statusMessage;
154 bool m_statusMessageHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace Route53Resolver
159} // namespace Aws
ResolverRuleAssociation & WithVPCId(const Aws::String &value)
ResolverRuleAssociation & WithStatusMessage(Aws::String &&value)
ResolverRuleAssociation & WithId(const char *value)
ResolverRuleAssociation & WithResolverRuleId(const Aws::String &value)
ResolverRuleAssociation & WithId(const Aws::String &value)
ResolverRuleAssociation & WithStatus(const ResolverRuleAssociationStatus &value)
ResolverRuleAssociation & WithVPCId(Aws::String &&value)
ResolverRuleAssociation & WithName(const char *value)
void SetStatus(const ResolverRuleAssociationStatus &value)
ResolverRuleAssociation & WithName(Aws::String &&value)
ResolverRuleAssociation & WithVPCId(const char *value)
AWS_ROUTE53RESOLVER_API ResolverRuleAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RESOLVER_API ResolverRuleAssociation(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ResolverRuleAssociationStatus &&value)
ResolverRuleAssociation & WithId(Aws::String &&value)
ResolverRuleAssociation & WithResolverRuleId(const char *value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
ResolverRuleAssociation & WithName(const Aws::String &value)
const ResolverRuleAssociationStatus & GetStatus() const
ResolverRuleAssociation & WithStatus(ResolverRuleAssociationStatus &&value)
ResolverRuleAssociation & WithResolverRuleId(Aws::String &&value)
ResolverRuleAssociation & WithStatusMessage(const Aws::String &value)
ResolverRuleAssociation & WithStatusMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue