AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSitesRequest.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.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 Outposts
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OUTPOSTS_API ListSitesRequest();
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 "ListSites"; }
36
37 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
38
39 AWS_OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
44 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
49 inline ListSitesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListSitesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListSitesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
56 inline int GetMaxResults() const{ return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListSitesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetOperatingAddressCountryCodeFilter() const{ return m_operatingAddressCountryCodeFilter; }
67 inline bool OperatingAddressCountryCodeFilterHasBeenSet() const { return m_operatingAddressCountryCodeFilterHasBeenSet; }
68 inline void SetOperatingAddressCountryCodeFilter(const Aws::Vector<Aws::String>& value) { m_operatingAddressCountryCodeFilterHasBeenSet = true; m_operatingAddressCountryCodeFilter = value; }
69 inline void SetOperatingAddressCountryCodeFilter(Aws::Vector<Aws::String>&& value) { m_operatingAddressCountryCodeFilterHasBeenSet = true; m_operatingAddressCountryCodeFilter = std::move(value); }
72 inline ListSitesRequest& AddOperatingAddressCountryCodeFilter(const Aws::String& value) { m_operatingAddressCountryCodeFilterHasBeenSet = true; m_operatingAddressCountryCodeFilter.push_back(value); return *this; }
73 inline ListSitesRequest& AddOperatingAddressCountryCodeFilter(Aws::String&& value) { m_operatingAddressCountryCodeFilterHasBeenSet = true; m_operatingAddressCountryCodeFilter.push_back(std::move(value)); return *this; }
74 inline ListSitesRequest& AddOperatingAddressCountryCodeFilter(const char* value) { m_operatingAddressCountryCodeFilterHasBeenSet = true; m_operatingAddressCountryCodeFilter.push_back(value); return *this; }
76
78
81 inline const Aws::Vector<Aws::String>& GetOperatingAddressStateOrRegionFilter() const{ return m_operatingAddressStateOrRegionFilter; }
82 inline bool OperatingAddressStateOrRegionFilterHasBeenSet() const { return m_operatingAddressStateOrRegionFilterHasBeenSet; }
83 inline void SetOperatingAddressStateOrRegionFilter(const Aws::Vector<Aws::String>& value) { m_operatingAddressStateOrRegionFilterHasBeenSet = true; m_operatingAddressStateOrRegionFilter = value; }
84 inline void SetOperatingAddressStateOrRegionFilter(Aws::Vector<Aws::String>&& value) { m_operatingAddressStateOrRegionFilterHasBeenSet = true; m_operatingAddressStateOrRegionFilter = std::move(value); }
87 inline ListSitesRequest& AddOperatingAddressStateOrRegionFilter(const Aws::String& value) { m_operatingAddressStateOrRegionFilterHasBeenSet = true; m_operatingAddressStateOrRegionFilter.push_back(value); return *this; }
88 inline ListSitesRequest& AddOperatingAddressStateOrRegionFilter(Aws::String&& value) { m_operatingAddressStateOrRegionFilterHasBeenSet = true; m_operatingAddressStateOrRegionFilter.push_back(std::move(value)); return *this; }
89 inline ListSitesRequest& AddOperatingAddressStateOrRegionFilter(const char* value) { m_operatingAddressStateOrRegionFilterHasBeenSet = true; m_operatingAddressStateOrRegionFilter.push_back(value); return *this; }
91
93
96 inline const Aws::Vector<Aws::String>& GetOperatingAddressCityFilter() const{ return m_operatingAddressCityFilter; }
97 inline bool OperatingAddressCityFilterHasBeenSet() const { return m_operatingAddressCityFilterHasBeenSet; }
98 inline void SetOperatingAddressCityFilter(const Aws::Vector<Aws::String>& value) { m_operatingAddressCityFilterHasBeenSet = true; m_operatingAddressCityFilter = value; }
99 inline void SetOperatingAddressCityFilter(Aws::Vector<Aws::String>&& value) { m_operatingAddressCityFilterHasBeenSet = true; m_operatingAddressCityFilter = std::move(value); }
102 inline ListSitesRequest& AddOperatingAddressCityFilter(const Aws::String& value) { m_operatingAddressCityFilterHasBeenSet = true; m_operatingAddressCityFilter.push_back(value); return *this; }
103 inline ListSitesRequest& AddOperatingAddressCityFilter(Aws::String&& value) { m_operatingAddressCityFilterHasBeenSet = true; m_operatingAddressCityFilter.push_back(std::move(value)); return *this; }
104 inline ListSitesRequest& AddOperatingAddressCityFilter(const char* value) { m_operatingAddressCityFilterHasBeenSet = true; m_operatingAddressCityFilter.push_back(value); return *this; }
106 private:
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110
111 int m_maxResults;
112 bool m_maxResultsHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_operatingAddressCountryCodeFilter;
115 bool m_operatingAddressCountryCodeFilterHasBeenSet = false;
116
117 Aws::Vector<Aws::String> m_operatingAddressStateOrRegionFilter;
118 bool m_operatingAddressStateOrRegionFilterHasBeenSet = false;
119
120 Aws::Vector<Aws::String> m_operatingAddressCityFilter;
121 bool m_operatingAddressCityFilterHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Outposts
126} // namespace Aws
AWS_OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSitesRequest & WithNextToken(Aws::String &&value)
ListSitesRequest & WithOperatingAddressStateOrRegionFilter(const Aws::Vector< Aws::String > &value)
ListSitesRequest & AddOperatingAddressCountryCodeFilter(const Aws::String &value)
const Aws::Vector< Aws::String > & GetOperatingAddressStateOrRegionFilter() const
ListSitesRequest & AddOperatingAddressStateOrRegionFilter(const char *value)
ListSitesRequest & AddOperatingAddressCityFilter(Aws::String &&value)
ListSitesRequest & AddOperatingAddressStateOrRegionFilter(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetOperatingAddressCountryCodeFilter(Aws::Vector< Aws::String > &&value)
ListSitesRequest & WithOperatingAddressCountryCodeFilter(const Aws::Vector< Aws::String > &value)
void SetNextToken(Aws::String &&value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
const Aws::String & GetNextToken() const
ListSitesRequest & WithMaxResults(int value)
ListSitesRequest & AddOperatingAddressCityFilter(const char *value)
const Aws::Vector< Aws::String > & GetOperatingAddressCityFilter() const
void SetOperatingAddressCountryCodeFilter(const Aws::Vector< Aws::String > &value)
ListSitesRequest & AddOperatingAddressCountryCodeFilter(Aws::String &&value)
void SetOperatingAddressStateOrRegionFilter(const Aws::Vector< Aws::String > &value)
ListSitesRequest & WithNextToken(const Aws::String &value)
ListSitesRequest & WithOperatingAddressCityFilter(const Aws::Vector< Aws::String > &value)
ListSitesRequest & WithNextToken(const char *value)
void SetOperatingAddressStateOrRegionFilter(Aws::Vector< Aws::String > &&value)
ListSitesRequest & AddOperatingAddressCountryCodeFilter(const char *value)
ListSitesRequest & AddOperatingAddressCityFilter(const Aws::String &value)
ListSitesRequest & AddOperatingAddressStateOrRegionFilter(const Aws::String &value)
void SetOperatingAddressCityFilter(Aws::Vector< Aws::String > &&value)
void SetNextToken(const Aws::String &value)
ListSitesRequest & WithOperatingAddressStateOrRegionFilter(Aws::Vector< Aws::String > &&value)
void SetOperatingAddressCityFilter(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetOperatingAddressCountryCodeFilter() const
ListSitesRequest & WithOperatingAddressCountryCodeFilter(Aws::Vector< Aws::String > &&value)
ListSitesRequest & WithOperatingAddressCityFilter(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector