/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace mgn { namespace Model { /** */ class DescribeReplicationConfigurationTemplatesRequest : public MgnRequest { public: AWS_MGN_API DescribeReplicationConfigurationTemplatesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeReplicationConfigurationTemplates"; } AWS_MGN_API Aws::String SerializePayload() const override; /** *

Request to describe Replication Configuration template by max results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Request to describe Replication Configuration template by max results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Request to describe Replication Configuration template by max results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Request to describe Replication Configuration template by max results.

*/ inline DescribeReplicationConfigurationTemplatesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

Request to describe Replication Configuration template by next token.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Request to describe Replication Configuration template by next token.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

Request to describe Replication Configuration template by next token.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

Request to describe Replication Configuration template by next token.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

Request to describe Replication Configuration template by next token.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

Request to describe Replication Configuration template by next token.

*/ inline DescribeReplicationConfigurationTemplatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Request to describe Replication Configuration template by next token.

*/ inline DescribeReplicationConfigurationTemplatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Request to describe Replication Configuration template by next token.

*/ inline DescribeReplicationConfigurationTemplatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Request to describe Replication Configuration template by template IDs.

*/ inline const Aws::Vector& GetReplicationConfigurationTemplateIDs() const{ return m_replicationConfigurationTemplateIDs; } /** *

Request to describe Replication Configuration template by template IDs.

*/ inline bool ReplicationConfigurationTemplateIDsHasBeenSet() const { return m_replicationConfigurationTemplateIDsHasBeenSet; } /** *

Request to describe Replication Configuration template by template IDs.

*/ inline void SetReplicationConfigurationTemplateIDs(const Aws::Vector& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = value; } /** *

Request to describe Replication Configuration template by template IDs.

*/ inline void SetReplicationConfigurationTemplateIDs(Aws::Vector&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs = std::move(value); } /** *

Request to describe Replication Configuration template by template IDs.

*/ inline DescribeReplicationConfigurationTemplatesRequest& WithReplicationConfigurationTemplateIDs(const Aws::Vector& value) { SetReplicationConfigurationTemplateIDs(value); return *this;} /** *

Request to describe Replication Configuration template by template IDs.

*/ inline DescribeReplicationConfigurationTemplatesRequest& WithReplicationConfigurationTemplateIDs(Aws::Vector&& value) { SetReplicationConfigurationTemplateIDs(std::move(value)); return *this;} /** *

Request to describe Replication Configuration template by template IDs.

*/ inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const Aws::String& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; } /** *

Request to describe Replication Configuration template by template IDs.

*/ inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(Aws::String&& value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(std::move(value)); return *this; } /** *

Request to describe Replication Configuration template by template IDs.

*/ inline DescribeReplicationConfigurationTemplatesRequest& AddReplicationConfigurationTemplateIDs(const char* value) { m_replicationConfigurationTemplateIDsHasBeenSet = true; m_replicationConfigurationTemplateIDs.push_back(value); return *this; } private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::Vector m_replicationConfigurationTemplateIDs; bool m_replicationConfigurationTemplateIDsHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws