AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkResourceSummary.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_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 NetworkManager
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NETWORKMANAGER_API NetworkResourceSummary();
35 AWS_NETWORKMANAGER_API NetworkResourceSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRegisteredGatewayArn() const{ return m_registeredGatewayArn; }
45 inline bool RegisteredGatewayArnHasBeenSet() const { return m_registeredGatewayArnHasBeenSet; }
46 inline void SetRegisteredGatewayArn(const Aws::String& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = value; }
47 inline void SetRegisteredGatewayArn(Aws::String&& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = std::move(value); }
48 inline void SetRegisteredGatewayArn(const char* value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn.assign(value); }
50 inline NetworkResourceSummary& WithRegisteredGatewayArn(Aws::String&& value) { SetRegisteredGatewayArn(std::move(value)); return *this;}
51 inline NetworkResourceSummary& WithRegisteredGatewayArn(const char* value) { SetRegisteredGatewayArn(value); return *this;}
53
55
58 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
59 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
60 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
61 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
62 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
63 inline NetworkResourceSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
64 inline NetworkResourceSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
65 inline NetworkResourceSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
67
69
72 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
73 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
74 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
75 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
76 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
77 inline NetworkResourceSummary& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
78 inline NetworkResourceSummary& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
79 inline NetworkResourceSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;}
81
83
87 inline const Aws::String& GetDefinition() const{ return m_definition; }
88 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
89 inline void SetDefinition(const Aws::String& value) { m_definitionHasBeenSet = true; m_definition = value; }
90 inline void SetDefinition(Aws::String&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
91 inline void SetDefinition(const char* value) { m_definitionHasBeenSet = true; m_definition.assign(value); }
92 inline NetworkResourceSummary& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;}
93 inline NetworkResourceSummary& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;}
94 inline NetworkResourceSummary& WithDefinition(const char* value) { SetDefinition(value); return *this;}
96
98
101 inline const Aws::String& GetNameTag() const{ return m_nameTag; }
102 inline bool NameTagHasBeenSet() const { return m_nameTagHasBeenSet; }
103 inline void SetNameTag(const Aws::String& value) { m_nameTagHasBeenSet = true; m_nameTag = value; }
104 inline void SetNameTag(Aws::String&& value) { m_nameTagHasBeenSet = true; m_nameTag = std::move(value); }
105 inline void SetNameTag(const char* value) { m_nameTagHasBeenSet = true; m_nameTag.assign(value); }
106 inline NetworkResourceSummary& WithNameTag(const Aws::String& value) { SetNameTag(value); return *this;}
107 inline NetworkResourceSummary& WithNameTag(Aws::String&& value) { SetNameTag(std::move(value)); return *this;}
108 inline NetworkResourceSummary& WithNameTag(const char* value) { SetNameTag(value); return *this;}
110
112
115 inline bool GetIsMiddlebox() const{ return m_isMiddlebox; }
116 inline bool IsMiddleboxHasBeenSet() const { return m_isMiddleboxHasBeenSet; }
117 inline void SetIsMiddlebox(bool value) { m_isMiddleboxHasBeenSet = true; m_isMiddlebox = value; }
118 inline NetworkResourceSummary& WithIsMiddlebox(bool value) { SetIsMiddlebox(value); return *this;}
120 private:
121
122 Aws::String m_registeredGatewayArn;
123 bool m_registeredGatewayArnHasBeenSet = false;
124
125 Aws::String m_resourceArn;
126 bool m_resourceArnHasBeenSet = false;
127
128 Aws::String m_resourceType;
129 bool m_resourceTypeHasBeenSet = false;
130
131 Aws::String m_definition;
132 bool m_definitionHasBeenSet = false;
133
134 Aws::String m_nameTag;
135 bool m_nameTagHasBeenSet = false;
136
137 bool m_isMiddlebox;
138 bool m_isMiddleboxHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace NetworkManager
143} // namespace Aws
NetworkResourceSummary & WithResourceType(const char *value)
NetworkResourceSummary & WithDefinition(const Aws::String &value)
NetworkResourceSummary & WithResourceArn(const char *value)
AWS_NETWORKMANAGER_API NetworkResourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkResourceSummary & WithRegisteredGatewayArn(const Aws::String &value)
NetworkResourceSummary & WithResourceType(Aws::String &&value)
AWS_NETWORKMANAGER_API NetworkResourceSummary(Aws::Utils::Json::JsonView jsonValue)
NetworkResourceSummary & WithDefinition(Aws::String &&value)
NetworkResourceSummary & WithNameTag(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkResourceSummary & WithResourceArn(const Aws::String &value)
NetworkResourceSummary & WithRegisteredGatewayArn(const char *value)
NetworkResourceSummary & WithResourceArn(Aws::String &&value)
NetworkResourceSummary & WithRegisteredGatewayArn(Aws::String &&value)
NetworkResourceSummary & WithDefinition(const char *value)
NetworkResourceSummary & WithNameTag(Aws::String &&value)
NetworkResourceSummary & WithNameTag(const char *value)
NetworkResourceSummary & WithResourceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue