AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirewallDomainListMetadata.h
1
6#pragma once
7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Route53Resolver
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_ROUTE53RESOLVER_API FirewallDomainListMetadata();
39 AWS_ROUTE53RESOLVER_API FirewallDomainListMetadata(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline FirewallDomainListMetadata& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline FirewallDomainListMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline FirewallDomainListMetadata& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline FirewallDomainListMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline FirewallDomainListMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline FirewallDomainListMetadata& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
80 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
81 inline FirewallDomainListMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
82 inline FirewallDomainListMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
83 inline FirewallDomainListMetadata& WithName(const char* value) { SetName(value); return *this;}
85
87
92 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
93 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
94 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
95 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
96 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
98 inline FirewallDomainListMetadata& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
99 inline FirewallDomainListMetadata& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
101
103
108 inline const Aws::String& GetManagedOwnerName() const{ return m_managedOwnerName; }
109 inline bool ManagedOwnerNameHasBeenSet() const { return m_managedOwnerNameHasBeenSet; }
110 inline void SetManagedOwnerName(const Aws::String& value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName = value; }
111 inline void SetManagedOwnerName(Aws::String&& value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName = std::move(value); }
112 inline void SetManagedOwnerName(const char* value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName.assign(value); }
114 inline FirewallDomainListMetadata& WithManagedOwnerName(Aws::String&& value) { SetManagedOwnerName(std::move(value)); return *this;}
115 inline FirewallDomainListMetadata& WithManagedOwnerName(const char* value) { SetManagedOwnerName(value); return *this;}
117 private:
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_arn;
123 bool m_arnHasBeenSet = false;
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_creatorRequestId;
129 bool m_creatorRequestIdHasBeenSet = false;
130
131 Aws::String m_managedOwnerName;
132 bool m_managedOwnerNameHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Route53Resolver
137} // namespace Aws
FirewallDomainListMetadata & WithArn(const char *value)
FirewallDomainListMetadata & WithManagedOwnerName(const char *value)
AWS_ROUTE53RESOLVER_API FirewallDomainListMetadata(Aws::Utils::Json::JsonView jsonValue)
FirewallDomainListMetadata & WithCreatorRequestId(const Aws::String &value)
FirewallDomainListMetadata & WithArn(Aws::String &&value)
FirewallDomainListMetadata & WithId(Aws::String &&value)
AWS_ROUTE53RESOLVER_API FirewallDomainListMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallDomainListMetadata & WithManagedOwnerName(const Aws::String &value)
FirewallDomainListMetadata & WithCreatorRequestId(const char *value)
FirewallDomainListMetadata & WithName(const char *value)
FirewallDomainListMetadata & WithName(Aws::String &&value)
FirewallDomainListMetadata & WithManagedOwnerName(Aws::String &&value)
FirewallDomainListMetadata & WithArn(const Aws::String &value)
FirewallDomainListMetadata & WithCreatorRequestId(Aws::String &&value)
FirewallDomainListMetadata & WithName(const Aws::String &value)
FirewallDomainListMetadata & WithId(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
FirewallDomainListMetadata & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue