AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetNetworkTelemetryRequest.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace NetworkManager
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_NETWORKMANAGER_API GetNetworkTelemetryRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetNetworkTelemetry"; }
35
36 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
37
38 AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetGlobalNetworkId() const{ return m_globalNetworkId; }
46 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
47 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
48 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
49 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
51 inline GetNetworkTelemetryRequest& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
52 inline GetNetworkTelemetryRequest& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
54
56
59 inline const Aws::String& GetCoreNetworkId() const{ return m_coreNetworkId; }
60 inline bool CoreNetworkIdHasBeenSet() const { return m_coreNetworkIdHasBeenSet; }
61 inline void SetCoreNetworkId(const Aws::String& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = value; }
62 inline void SetCoreNetworkId(Aws::String&& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = std::move(value); }
63 inline void SetCoreNetworkId(const char* value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId.assign(value); }
64 inline GetNetworkTelemetryRequest& WithCoreNetworkId(const Aws::String& value) { SetCoreNetworkId(value); return *this;}
65 inline GetNetworkTelemetryRequest& WithCoreNetworkId(Aws::String&& value) { SetCoreNetworkId(std::move(value)); return *this;}
66 inline GetNetworkTelemetryRequest& WithCoreNetworkId(const char* value) { SetCoreNetworkId(value); return *this;}
68
70
73 inline const Aws::String& GetRegisteredGatewayArn() const{ return m_registeredGatewayArn; }
74 inline bool RegisteredGatewayArnHasBeenSet() const { return m_registeredGatewayArnHasBeenSet; }
75 inline void SetRegisteredGatewayArn(const Aws::String& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = value; }
76 inline void SetRegisteredGatewayArn(Aws::String&& value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn = std::move(value); }
77 inline void SetRegisteredGatewayArn(const char* value) { m_registeredGatewayArnHasBeenSet = true; m_registeredGatewayArn.assign(value); }
80 inline GetNetworkTelemetryRequest& WithRegisteredGatewayArn(const char* value) { SetRegisteredGatewayArn(value); return *this;}
82
84
87 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
88 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
89 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
90 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
91 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
92 inline GetNetworkTelemetryRequest& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
93 inline GetNetworkTelemetryRequest& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
94 inline GetNetworkTelemetryRequest& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
96
98
101 inline const Aws::String& GetAccountId() const{ return m_accountId; }
102 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
103 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
104 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
105 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
106 inline GetNetworkTelemetryRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
107 inline GetNetworkTelemetryRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
108 inline GetNetworkTelemetryRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
110
112
118 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
119 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
120 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
121 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
122 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
123 inline GetNetworkTelemetryRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
124 inline GetNetworkTelemetryRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
125 inline GetNetworkTelemetryRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
127
129
132 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
133 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
134 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
135 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
136 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
137 inline GetNetworkTelemetryRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
138 inline GetNetworkTelemetryRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
139 inline GetNetworkTelemetryRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
141
143
146 inline int GetMaxResults() const{ return m_maxResults; }
147 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
148 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
149 inline GetNetworkTelemetryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
151
153
156 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
157 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
158 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
159 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
160 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
161 inline GetNetworkTelemetryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
162 inline GetNetworkTelemetryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
163 inline GetNetworkTelemetryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
165 private:
166
167 Aws::String m_globalNetworkId;
168 bool m_globalNetworkIdHasBeenSet = false;
169
170 Aws::String m_coreNetworkId;
171 bool m_coreNetworkIdHasBeenSet = false;
172
173 Aws::String m_registeredGatewayArn;
174 bool m_registeredGatewayArnHasBeenSet = false;
175
176 Aws::String m_awsRegion;
177 bool m_awsRegionHasBeenSet = false;
178
179 Aws::String m_accountId;
180 bool m_accountIdHasBeenSet = false;
181
182 Aws::String m_resourceType;
183 bool m_resourceTypeHasBeenSet = false;
184
185 Aws::String m_resourceArn;
186 bool m_resourceArnHasBeenSet = false;
187
188 int m_maxResults;
189 bool m_maxResultsHasBeenSet = false;
190
191 Aws::String m_nextToken;
192 bool m_nextTokenHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace NetworkManager
197} // namespace Aws
GetNetworkTelemetryRequest & WithResourceType(const char *value)
GetNetworkTelemetryRequest & WithCoreNetworkId(const Aws::String &value)
GetNetworkTelemetryRequest & WithAccountId(const char *value)
GetNetworkTelemetryRequest & WithAwsRegion(const Aws::String &value)
GetNetworkTelemetryRequest & WithGlobalNetworkId(const Aws::String &value)
GetNetworkTelemetryRequest & WithResourceArn(const char *value)
GetNetworkTelemetryRequest & WithGlobalNetworkId(const char *value)
GetNetworkTelemetryRequest & WithResourceArn(const Aws::String &value)
GetNetworkTelemetryRequest & WithRegisteredGatewayArn(const Aws::String &value)
GetNetworkTelemetryRequest & WithCoreNetworkId(Aws::String &&value)
AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetNetworkTelemetryRequest & WithAccountId(Aws::String &&value)
GetNetworkTelemetryRequest & WithCoreNetworkId(const char *value)
GetNetworkTelemetryRequest & WithNextToken(Aws::String &&value)
GetNetworkTelemetryRequest & WithResourceArn(Aws::String &&value)
GetNetworkTelemetryRequest & WithGlobalNetworkId(Aws::String &&value)
GetNetworkTelemetryRequest & WithRegisteredGatewayArn(Aws::String &&value)
GetNetworkTelemetryRequest & WithAccountId(const Aws::String &value)
GetNetworkTelemetryRequest & WithRegisteredGatewayArn(const char *value)
GetNetworkTelemetryRequest & WithResourceType(Aws::String &&value)
GetNetworkTelemetryRequest & WithAwsRegion(const char *value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
GetNetworkTelemetryRequest & WithNextToken(const Aws::String &value)
GetNetworkTelemetryRequest & WithAwsRegion(Aws::String &&value)
GetNetworkTelemetryRequest & WithNextToken(const char *value)
GetNetworkTelemetryRequest & WithResourceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String