AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListNetworksRequest.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/managedblockchain/ManagedBlockchainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/managedblockchain/model/Framework.h>
11#include <aws/managedblockchain/model/NetworkStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace ManagedBlockchain
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_MANAGEDBLOCKCHAIN_API ListNetworksRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListNetworks"; }
37
38 AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override;
39
40 AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline ListNetworksRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline ListNetworksRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline ListNetworksRequest& WithName(const char* value) { SetName(value); return *this;}
56
58
62 inline const Framework& GetFramework() const{ return m_framework; }
63 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
64 inline void SetFramework(const Framework& value) { m_frameworkHasBeenSet = true; m_framework = value; }
65 inline void SetFramework(Framework&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); }
66 inline ListNetworksRequest& WithFramework(const Framework& value) { SetFramework(value); return *this;}
67 inline ListNetworksRequest& WithFramework(Framework&& value) { SetFramework(std::move(value)); return *this;}
69
71
75 inline const NetworkStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const NetworkStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(NetworkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline ListNetworksRequest& WithStatus(const NetworkStatus& value) { SetStatus(value); return *this;}
80 inline ListNetworksRequest& WithStatus(NetworkStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListNetworksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
94
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListNetworksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListNetworksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListNetworksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106 private:
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Framework m_framework;
112 bool m_frameworkHasBeenSet = false;
113
114 NetworkStatus m_status;
115 bool m_statusHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ManagedBlockchain
126} // namespace Aws
ListNetworksRequest & WithFramework(const Framework &value)
ListNetworksRequest & WithName(const char *value)
ListNetworksRequest & WithStatus(NetworkStatus &&value)
ListNetworksRequest & WithNextToken(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListNetworksRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListNetworksRequest & WithName(Aws::String &&value)
ListNetworksRequest & WithNextToken(const char *value)
ListNetworksRequest & WithFramework(Framework &&value)
ListNetworksRequest & WithName(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API Aws::String SerializePayload() const override
ListNetworksRequest & WithStatus(const NetworkStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String