AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListConfigurationRevisionsResult.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mq/model/ConfigurationRevision.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::String& GetConfigurationId() const{ return m_configurationId; }
42 inline void SetConfigurationId(const Aws::String& value) { m_configurationId = value; }
43 inline void SetConfigurationId(Aws::String&& value) { m_configurationId = std::move(value); }
44 inline void SetConfigurationId(const char* value) { m_configurationId.assign(value); }
46 inline ListConfigurationRevisionsResult& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
47 inline ListConfigurationRevisionsResult& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
49
51
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline void SetMaxResults(int value) { m_maxResults = value; }
57 inline ListConfigurationRevisionsResult& 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 ListConfigurationRevisionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListConfigurationRevisionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListConfigurationRevisionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
78 inline const Aws::Vector<ConfigurationRevision>& GetRevisions() const{ return m_revisions; }
79 inline void SetRevisions(const Aws::Vector<ConfigurationRevision>& value) { m_revisions = value; }
80 inline void SetRevisions(Aws::Vector<ConfigurationRevision>&& value) { m_revisions = std::move(value); }
83 inline ListConfigurationRevisionsResult& AddRevisions(const ConfigurationRevision& value) { m_revisions.push_back(value); return *this; }
84 inline ListConfigurationRevisionsResult& AddRevisions(ConfigurationRevision&& value) { m_revisions.push_back(std::move(value)); return *this; }
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline ListConfigurationRevisionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline ListConfigurationRevisionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline ListConfigurationRevisionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_configurationId;
100
101 int m_maxResults;
102
103 Aws::String m_nextToken;
104
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace MQ
112} // namespace Aws
ListConfigurationRevisionsResult & WithRevisions(Aws::Vector< ConfigurationRevision > &&value)
ListConfigurationRevisionsResult & WithConfigurationId(Aws::String &&value)
void SetRevisions(const Aws::Vector< ConfigurationRevision > &value)
AWS_MQ_API ListConfigurationRevisionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConfigurationRevisionsResult & WithNextToken(const char *value)
ListConfigurationRevisionsResult & WithRequestId(const char *value)
ListConfigurationRevisionsResult & WithRevisions(const Aws::Vector< ConfigurationRevision > &value)
void SetRevisions(Aws::Vector< ConfigurationRevision > &&value)
ListConfigurationRevisionsResult & WithNextToken(Aws::String &&value)
ListConfigurationRevisionsResult & AddRevisions(const ConfigurationRevision &value)
ListConfigurationRevisionsResult & WithRequestId(const Aws::String &value)
ListConfigurationRevisionsResult & WithNextToken(const Aws::String &value)
ListConfigurationRevisionsResult & WithMaxResults(int value)
ListConfigurationRevisionsResult & WithConfigurationId(const Aws::String &value)
ListConfigurationRevisionsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ConfigurationRevision > & GetRevisions() const
ListConfigurationRevisionsResult & WithConfigurationId(const char *value)
ListConfigurationRevisionsResult & AddRevisions(ConfigurationRevision &&value)
AWS_MQ_API ListConfigurationRevisionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue