AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeGlobalNetworksRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace NetworkManager
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_NETWORKMANAGER_API DescribeGlobalNetworksRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeGlobalNetworks"; }
36
37 AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override;
38
39 AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetGlobalNetworkIds() const{ return m_globalNetworkIds; }
47 inline bool GlobalNetworkIdsHasBeenSet() const { return m_globalNetworkIdsHasBeenSet; }
48 inline void SetGlobalNetworkIds(const Aws::Vector<Aws::String>& value) { m_globalNetworkIdsHasBeenSet = true; m_globalNetworkIds = value; }
49 inline void SetGlobalNetworkIds(Aws::Vector<Aws::String>&& value) { m_globalNetworkIdsHasBeenSet = true; m_globalNetworkIds = std::move(value); }
52 inline DescribeGlobalNetworksRequest& AddGlobalNetworkIds(const Aws::String& value) { m_globalNetworkIdsHasBeenSet = true; m_globalNetworkIds.push_back(value); return *this; }
53 inline DescribeGlobalNetworksRequest& AddGlobalNetworkIds(Aws::String&& value) { m_globalNetworkIdsHasBeenSet = true; m_globalNetworkIds.push_back(std::move(value)); return *this; }
54 inline DescribeGlobalNetworksRequest& AddGlobalNetworkIds(const char* value) { m_globalNetworkIdsHasBeenSet = true; m_globalNetworkIds.push_back(value); return *this; }
56
58
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline DescribeGlobalNetworksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline DescribeGlobalNetworksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline DescribeGlobalNetworksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline DescribeGlobalNetworksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80 private:
81
82 Aws::Vector<Aws::String> m_globalNetworkIds;
83 bool m_globalNetworkIdsHasBeenSet = false;
84
85 int m_maxResults;
86 bool m_maxResultsHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace NetworkManager
94} // namespace Aws
DescribeGlobalNetworksRequest & AddGlobalNetworkIds(const Aws::String &value)
DescribeGlobalNetworksRequest & AddGlobalNetworkIds(const char *value)
DescribeGlobalNetworksRequest & WithNextToken(const char *value)
DescribeGlobalNetworksRequest & AddGlobalNetworkIds(Aws::String &&value)
DescribeGlobalNetworksRequest & WithNextToken(const Aws::String &value)
AWS_NETWORKMANAGER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeGlobalNetworksRequest & WithGlobalNetworkIds(Aws::Vector< Aws::String > &&value)
DescribeGlobalNetworksRequest & WithNextToken(Aws::String &&value)
void SetGlobalNetworkIds(const Aws::Vector< Aws::String > &value)
DescribeGlobalNetworksRequest & WithGlobalNetworkIds(const Aws::Vector< Aws::String > &value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector