AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeReplicationConfigurationTemplatesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mgn/Mgn_EXPORTS.h>
8 #include <aws/mgn/MgnRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace mgn
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeReplicationConfigurationTemplates"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline int GetMaxResults() const{ return m_maxResults; }
40 
44  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
45 
49  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
50 
54  inline DescribeReplicationConfigurationTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
55 
56 
60  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 
65  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 
70  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
71 
75  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 
80  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 
85  inline DescribeReplicationConfigurationTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 
90  inline DescribeReplicationConfigurationTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 
95  inline DescribeReplicationConfigurationTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96 
97 
101  inline const Aws::Vector<Aws::String>& GetReplicationConfigurationTemplateIDs() const{ return m_replicationConfigurationTemplateIDs; }
102 
106  inline bool ReplicationConfigurationTemplateIDsHasBeenSet() const { return m_replicationConfigurationTemplateIDsHasBeenSet; }
107 
111  inline void SetReplicationConfigurationTemplateIDs(const Aws::Vector<Aws::String>& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = value; }
112 
116  inline void SetReplicationConfigurationTemplateIDs(Aws::Vector<Aws::String>&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = std::move(value); }
117 
121  inline DescribeReplicationConfigurationTemplatesRequest& WithReplicationConfigurationTemplateIDs(const Aws::Vector<Aws::String>& value) { SetReplicationConfigurationTemplateIDs(value); return *this;}
122 
126  inline DescribeReplicationConfigurationTemplatesRequest& WithReplicationConfigurationTemplateIDs(Aws::Vector<Aws::String>&& value) { SetReplicationConfigurationTemplateIDs(std::move(value)); return *this;}
127 
131  inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const Aws::String& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; }
132 
136  inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(Aws::String&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(std::move(value)); return *this; }
137 
141  inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const char* value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; }
142 
143  private:
144 
145  int m_maxResults;
146  bool m_maxResultsHasBeenSet;
147 
148  Aws::String m_nextToken;
149  bool m_nextTokenHasBeenSet;
150 
151  Aws::Vector<Aws::String> m_replicationConfigurationTemplateIDs;
152  bool m_replicationConfigurationTemplateIDsHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace mgn
157 } // namespace Aws
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::AddReplicationConfigurationTemplateIDs
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(Aws::String &&value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:136
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::DescribeReplicationConfigurationTemplatesRequest
DescribeReplicationConfigurationTemplatesRequest()
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::WithNextToken
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(const char *value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:95
AWS_MGN_API
#define AWS_MGN_API
Definition: Mgn_EXPORTS.h:28
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::SetReplicationConfigurationTemplateIDs
void SetReplicationConfigurationTemplateIDs(Aws::Vector< Aws::String > &&value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:116
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::mgn::MgnRequest
Definition: MgnRequest.h:17
AWSVector.h
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:49
MgnRequest.h
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:75
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeReplicationConfigurationTemplatesRequest.h:65
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReplicationConfigurationTemplatesRequest.h:31
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::WithReplicationConfigurationTemplateIDs
DescribeReplicationConfigurationTemplatesRequest & WithReplicationConfigurationTemplateIDs(const Aws::Vector< Aws::String > &value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:121
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::AddReplicationConfigurationTemplateIDs
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(const char *value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:141
Mgn_EXPORTS.h
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::SetReplicationConfigurationTemplateIDs
void SetReplicationConfigurationTemplateIDs(const Aws::Vector< Aws::String > &value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:111
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeReplicationConfigurationTemplatesRequest.h:39
AWSString.h
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeReplicationConfigurationTemplatesRequest.h:60
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::GetReplicationConfigurationTemplateIDs
const Aws::Vector< Aws::String > & GetReplicationConfigurationTemplateIDs() const
Definition: DescribeReplicationConfigurationTemplatesRequest.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::WithReplicationConfigurationTemplateIDs
DescribeReplicationConfigurationTemplatesRequest & WithReplicationConfigurationTemplateIDs(Aws::Vector< Aws::String > &&value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:126
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest
Definition: DescribeReplicationConfigurationTemplatesRequest.h:23
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::WithNextToken
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:90
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::ReplicationConfigurationTemplateIDsHasBeenSet
bool ReplicationConfigurationTemplateIDsHasBeenSet() const
Definition: DescribeReplicationConfigurationTemplatesRequest.h:106
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeReplicationConfigurationTemplatesRequest.h:44
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::WithMaxResults
DescribeReplicationConfigurationTemplatesRequest & WithMaxResults(int value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:54
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::WithNextToken
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:85
Aws::mgn::Model::DescribeReplicationConfigurationTemplatesRequest::AddReplicationConfigurationTemplateIDs
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(const Aws::String &value)
Definition: DescribeReplicationConfigurationTemplatesRequest.h:131