AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListConfigurationsResult.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mq/model/Configuration.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MQ
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MQ_API ListConfigurationsResult() = default;
35
36
38
41 inline const Aws::Vector<Configuration>& GetConfigurations() const { return m_configurations; }
42 template<typename ConfigurationsT = Aws::Vector<Configuration>>
43 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations = std::forward<ConfigurationsT>(value); }
44 template<typename ConfigurationsT = Aws::Vector<Configuration>>
45 ListConfigurationsResult& WithConfigurations(ConfigurationsT&& value) { SetConfigurations(std::forward<ConfigurationsT>(value)); return *this;}
46 template<typename ConfigurationsT = Configuration>
47 ListConfigurationsResult& AddConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations.emplace_back(std::forward<ConfigurationsT>(value)); return *this; }
49
51
55 inline int GetMaxResults() const { return m_maxResults; }
56 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
57 inline ListConfigurationsResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
59
61
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 template<typename NextTokenT = Aws::String>
67 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
68 template<typename NextTokenT = Aws::String>
69 ListConfigurationsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 ListConfigurationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::Vector<Configuration> m_configurations;
83 bool m_configurationsHasBeenSet = false;
84
85 int m_maxResults{0};
86 bool m_maxResultsHasBeenSet = false;
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MQ
97} // namespace Aws
ListConfigurationsResult & WithRequestId(RequestIdT &&value)
ListConfigurationsResult & WithConfigurations(ConfigurationsT &&value)
ListConfigurationsResult & AddConfigurations(ConfigurationsT &&value)
AWS_MQ_API ListConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MQ_API ListConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MQ_API ListConfigurationsResult()=default
ListConfigurationsResult & WithMaxResults(int value)
ListConfigurationsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< Configuration > & GetConfigurations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue