AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirewallRuleGroupMetadata.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/ShareStatus.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
37 {
38 public:
39 AWS_ROUTE53RESOLVER_API FirewallRuleGroupMetadata();
40 AWS_ROUTE53RESOLVER_API FirewallRuleGroupMetadata(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline FirewallRuleGroupMetadata& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline FirewallRuleGroupMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline FirewallRuleGroupMetadata& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline FirewallRuleGroupMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline FirewallRuleGroupMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline FirewallRuleGroupMetadata& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline FirewallRuleGroupMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline FirewallRuleGroupMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline FirewallRuleGroupMetadata& WithName(const char* value) { SetName(value); return *this;}
86
88
93 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
94 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
95 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
96 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
97 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
98 inline FirewallRuleGroupMetadata& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
99 inline FirewallRuleGroupMetadata& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
100 inline FirewallRuleGroupMetadata& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
102
104
109 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
110 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
111 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
112 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
113 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
115 inline FirewallRuleGroupMetadata& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
116 inline FirewallRuleGroupMetadata& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
118
120
125 inline const ShareStatus& GetShareStatus() const{ return m_shareStatus; }
126 inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; }
127 inline void SetShareStatus(const ShareStatus& value) { m_shareStatusHasBeenSet = true; m_shareStatus = value; }
128 inline void SetShareStatus(ShareStatus&& value) { m_shareStatusHasBeenSet = true; m_shareStatus = std::move(value); }
129 inline FirewallRuleGroupMetadata& WithShareStatus(const ShareStatus& value) { SetShareStatus(value); return *this;}
130 inline FirewallRuleGroupMetadata& WithShareStatus(ShareStatus&& value) { SetShareStatus(std::move(value)); return *this;}
132 private:
133
134 Aws::String m_id;
135 bool m_idHasBeenSet = false;
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_ownerId;
144 bool m_ownerIdHasBeenSet = false;
145
146 Aws::String m_creatorRequestId;
147 bool m_creatorRequestIdHasBeenSet = false;
148
149 ShareStatus m_shareStatus;
150 bool m_shareStatusHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace Route53Resolver
155} // namespace Aws
FirewallRuleGroupMetadata & WithName(const Aws::String &value)
FirewallRuleGroupMetadata & WithName(const char *value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
FirewallRuleGroupMetadata & WithCreatorRequestId(const Aws::String &value)
FirewallRuleGroupMetadata & WithId(const char *value)
FirewallRuleGroupMetadata & WithOwnerId(Aws::String &&value)
FirewallRuleGroupMetadata & WithArn(const char *value)
AWS_ROUTE53RESOLVER_API FirewallRuleGroupMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallRuleGroupMetadata & WithArn(Aws::String &&value)
FirewallRuleGroupMetadata & WithOwnerId(const char *value)
FirewallRuleGroupMetadata & WithCreatorRequestId(const char *value)
FirewallRuleGroupMetadata & WithName(Aws::String &&value)
FirewallRuleGroupMetadata & WithShareStatus(const ShareStatus &value)
FirewallRuleGroupMetadata & WithShareStatus(ShareStatus &&value)
FirewallRuleGroupMetadata & WithId(const Aws::String &value)
FirewallRuleGroupMetadata & WithId(Aws::String &&value)
AWS_ROUTE53RESOLVER_API FirewallRuleGroupMetadata(Aws::Utils::Json::JsonView jsonValue)
FirewallRuleGroupMetadata & WithCreatorRequestId(Aws::String &&value)
FirewallRuleGroupMetadata & WithOwnerId(const Aws::String &value)
FirewallRuleGroupMetadata & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue