AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
35
36
38
41 inline const Aws::Vector<Configuration>& GetConfigurations() const{ return m_configurations; }
42 inline void SetConfigurations(const Aws::Vector<Configuration>& value) { m_configurations = value; }
43 inline void SetConfigurations(Aws::Vector<Configuration>&& value) { m_configurations = std::move(value); }
46 inline ListConfigurationsResult& AddConfigurations(const Configuration& value) { m_configurations.push_back(value); return *this; }
47 inline ListConfigurationsResult& AddConfigurations(Configuration&& value) { m_configurations.push_back(std::move(value)); return *this; }
49
51
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline void SetMaxResults(int value) { 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 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
69 inline ListConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline ListConfigurationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline ListConfigurationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline ListConfigurationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::Vector<Configuration> m_configurations;
87
88 int m_maxResults;
89
90 Aws::String m_nextToken;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace MQ
97} // namespace Aws
void SetConfigurations(Aws::Vector< Configuration > &&value)
ListConfigurationsResult & AddConfigurations(const Configuration &value)
ListConfigurationsResult & WithNextToken(const Aws::String &value)
void SetConfigurations(const Aws::Vector< Configuration > &value)
ListConfigurationsResult & WithConfigurations(const Aws::Vector< Configuration > &value)
ListConfigurationsResult & WithNextToken(Aws::String &&value)
ListConfigurationsResult & AddConfigurations(Configuration &&value)
ListConfigurationsResult & WithRequestId(const char *value)
ListConfigurationsResult & WithNextToken(const char *value)
ListConfigurationsResult & WithConfigurations(Aws::Vector< Configuration > &&value)
ListConfigurationsResult & WithRequestId(const Aws::String &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)
ListConfigurationsResult & WithRequestId(Aws::String &&value)
ListConfigurationsResult & WithMaxResults(int 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