AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLinksRequest.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 <aws/core/utils/memory/stl/AWSVector.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 GetLinksRequest() = default;
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 "GetLinks"; }
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::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
47 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
48 template<typename GlobalNetworkIdT = Aws::String>
49 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
50 template<typename GlobalNetworkIdT = Aws::String>
51 GetLinksRequest& WithGlobalNetworkId(GlobalNetworkIdT&& value) { SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetLinkIds() const { return m_linkIds; }
59 inline bool LinkIdsHasBeenSet() const { return m_linkIdsHasBeenSet; }
60 template<typename LinkIdsT = Aws::Vector<Aws::String>>
61 void SetLinkIds(LinkIdsT&& value) { m_linkIdsHasBeenSet = true; m_linkIds = std::forward<LinkIdsT>(value); }
62 template<typename LinkIdsT = Aws::Vector<Aws::String>>
63 GetLinksRequest& WithLinkIds(LinkIdsT&& value) { SetLinkIds(std::forward<LinkIdsT>(value)); return *this;}
64 template<typename LinkIdsT = Aws::String>
65 GetLinksRequest& AddLinkIds(LinkIdsT&& value) { m_linkIdsHasBeenSet = true; m_linkIds.emplace_back(std::forward<LinkIdsT>(value)); return *this; }
67
69
72 inline const Aws::String& GetSiteId() const { return m_siteId; }
73 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
74 template<typename SiteIdT = Aws::String>
75 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet = true; m_siteId = std::forward<SiteIdT>(value); }
76 template<typename SiteIdT = Aws::String>
77 GetLinksRequest& WithSiteId(SiteIdT&& value) { SetSiteId(std::forward<SiteIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetType() const { return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 template<typename TypeT = Aws::String>
87 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
88 template<typename TypeT = Aws::String>
89 GetLinksRequest& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
91
93
96 inline const Aws::String& GetProvider() const { return m_provider; }
97 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
98 template<typename ProviderT = Aws::String>
99 void SetProvider(ProviderT&& value) { m_providerHasBeenSet = true; m_provider = std::forward<ProviderT>(value); }
100 template<typename ProviderT = Aws::String>
101 GetLinksRequest& WithProvider(ProviderT&& value) { SetProvider(std::forward<ProviderT>(value)); return *this;}
103
105
108 inline int GetMaxResults() const { return m_maxResults; }
109 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
110 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
111 inline GetLinksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
113
115
118 inline const Aws::String& GetNextToken() const { return m_nextToken; }
119 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
120 template<typename NextTokenT = Aws::String>
121 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
122 template<typename NextTokenT = Aws::String>
123 GetLinksRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
125 private:
126
127 Aws::String m_globalNetworkId;
128 bool m_globalNetworkIdHasBeenSet = false;
129
130 Aws::Vector<Aws::String> m_linkIds;
131 bool m_linkIdsHasBeenSet = false;
132
133 Aws::String m_siteId;
134 bool m_siteIdHasBeenSet = false;
135
136 Aws::String m_type;
137 bool m_typeHasBeenSet = false;
138
139 Aws::String m_provider;
140 bool m_providerHasBeenSet = false;
141
142 int m_maxResults{0};
143 bool m_maxResultsHasBeenSet = false;
144
145 Aws::String m_nextToken;
146 bool m_nextTokenHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace NetworkManager
151} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector