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/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.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 drs
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_DRS_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
65 inline const Aws::Vector<Aws::String>& GetReplicationConfigurationTemplateIDs() const{ return m_replicationConfigurationTemplateIDs; }
66 inline bool ReplicationConfigurationTemplateIDsHasBeenSet() const { return m_replicationConfigurationTemplateIDsHasBeenSet; }
67 inline void SetReplicationConfigurationTemplateIDs(const Aws::Vector<Aws::String>& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = value; }
68 inline void SetReplicationConfigurationTemplateIDs(Aws::Vector<Aws::String>&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = std::move(value); }
71 inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const Aws::String& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; }
72 inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(Aws::String&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(std::move(value)); return *this; }
73 inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const char* value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; }
75 private:
76
77 int m_maxResults;
78 bool m_maxResultsHasBeenSet = false;
79
80 Aws::String m_nextToken;
81 bool m_nextTokenHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_replicationConfigurationTemplateIDs;
84 bool m_replicationConfigurationTemplateIDsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace drs
89} // namespace Aws
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(const Aws::String &value)
DescribeReplicationConfigurationTemplatesRequest & WithReplicationConfigurationTemplateIDs(const Aws::Vector< Aws::String > &value)
DescribeReplicationConfigurationTemplatesRequest & WithReplicationConfigurationTemplateIDs(Aws::Vector< Aws::String > &&value)
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(const char *value)
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(const char *value)
AWS_DRS_API Aws::String SerializePayload() const override
DescribeReplicationConfigurationTemplatesRequest & AddReplicationConfigurationTemplateIDs(Aws::String &&value)
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(const Aws::String &value)
DescribeReplicationConfigurationTemplatesRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector