AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReplicationConfigurationTemplatesRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
16{
17namespace 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_MGN_API Aws::String SerializePayload() const override;
34
35
37
40 inline int GetMaxResults() const{ return m_maxResults; }
41 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
42 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
45
47
50 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
52 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
53 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
54 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
57 inline DescribeReplicationConfigurationTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetReplicationConfigurationTemplateIDs() const{ return m_replicationConfigurationTemplateIDs; }
65 inline bool ReplicationConfigurationTemplateIDsHasBeenSet() const { return m_replicationConfigurationTemplateIDsHasBeenSet; }
66 inline void SetReplicationConfigurationTemplateIDs(const Aws::Vector<Aws::String>& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = value; }
67 inline void SetReplicationConfigurationTemplateIDs(Aws::Vector<Aws::String>&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = std::move(value); }
70 inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const Aws::String& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; }
71 inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(Aws::String&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(std::move(value)); return *this; }
72 inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const char* value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; }
74 private:
75
76 int m_maxResults;
77 bool m_maxResultsHasBeenSet = false;
78
79 Aws::String m_nextToken;
80 bool m_nextTokenHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_replicationConfigurationTemplateIDs;
83 bool m_replicationConfigurationTemplateIDsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace mgn
88} // namespace Aws
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(Aws::String &&value)
AWS_MGN_API Aws::String SerializePayload() const override
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(const Aws::String &value)
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(const char *value)
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(const Aws::String &value)
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(Aws::String &&value)
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(const char *value)
DescribeReplicationConfigurationTemplatesRequest & WithReplicationConfigurationTemplateIDs(const Aws::Vector< Aws::String > &value)
DescribeReplicationConfigurationTemplatesRequest & WithReplicationConfigurationTemplateIDs(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector