AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListConfigurationsRequest.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/ApplicationDiscoveryServiceRequest.h>
9#include <aws/discovery/model/ConfigurationItemType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/discovery/model/Filter.h>
13#include <aws/discovery/model/OrderByElement.h>
14#include <utility>
15
16namespace Aws
17{
18namespace ApplicationDiscoveryService
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPLICATIONDISCOVERYSERVICE_API ListConfigurationsRequest();
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 "ListConfigurations"; }
35
36 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const ConfigurationItemType& GetConfigurationType() const{ return m_configurationType; }
46 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
47 inline void SetConfigurationType(const ConfigurationItemType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
48 inline void SetConfigurationType(ConfigurationItemType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
52
54
63 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
64 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
65 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
66 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline ListConfigurationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
68 inline ListConfigurationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
69 inline ListConfigurationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
70 inline ListConfigurationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
72
74
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline ListConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline ListConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline ListConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100
102
109 inline const Aws::Vector<OrderByElement>& GetOrderBy() const{ return m_orderBy; }
110 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
111 inline void SetOrderBy(const Aws::Vector<OrderByElement>& value) { m_orderByHasBeenSet = true; m_orderBy = value; }
112 inline void SetOrderBy(Aws::Vector<OrderByElement>&& value) { m_orderByHasBeenSet = true; m_orderBy = std::move(value); }
114 inline ListConfigurationsRequest& WithOrderBy(Aws::Vector<OrderByElement>&& value) { SetOrderBy(std::move(value)); return *this;}
115 inline ListConfigurationsRequest& AddOrderBy(const OrderByElement& value) { m_orderByHasBeenSet = true; m_orderBy.push_back(value); return *this; }
116 inline ListConfigurationsRequest& AddOrderBy(OrderByElement&& value) { m_orderByHasBeenSet = true; m_orderBy.push_back(std::move(value)); return *this; }
118 private:
119
120 ConfigurationItemType m_configurationType;
121 bool m_configurationTypeHasBeenSet = false;
122
123 Aws::Vector<Filter> m_filters;
124 bool m_filtersHasBeenSet = false;
125
126 int m_maxResults;
127 bool m_maxResultsHasBeenSet = false;
128
129 Aws::String m_nextToken;
130 bool m_nextTokenHasBeenSet = false;
131
133 bool m_orderByHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace ApplicationDiscoveryService
138} // namespace Aws
ListConfigurationsRequest & WithConfigurationType(ConfigurationItemType &&value)
ListConfigurationsRequest & WithFilters(const Aws::Vector< Filter > &value)
ListConfigurationsRequest & WithNextToken(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API ListConfigurationsRequest()
ListConfigurationsRequest & WithConfigurationType(const ConfigurationItemType &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override
ListConfigurationsRequest & AddOrderBy(const OrderByElement &value)
ListConfigurationsRequest & WithFilters(Aws::Vector< Filter > &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListConfigurationsRequest & AddOrderBy(OrderByElement &&value)
ListConfigurationsRequest & WithOrderBy(Aws::Vector< OrderByElement > &&value)
ListConfigurationsRequest & WithOrderBy(const Aws::Vector< OrderByElement > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector