/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace mgn { namespace Model { /** */ class DescribeJobLogItemsRequest : public MgnRequest { public: AWS_MGN_API DescribeJobLogItemsRequest(); // 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 "DescribeJobLogItems"; } AWS_MGN_API Aws::String SerializePayload() const override; /** *

Request to describe Job log Account ID.

*/ inline const Aws::String& GetAccountID() const{ return m_accountID; } /** *

Request to describe Job log Account ID.

*/ inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; } /** *

Request to describe Job log Account ID.

*/ inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; } /** *

Request to describe Job log Account ID.

*/ inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); } /** *

Request to describe Job log Account ID.

*/ inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); } /** *

Request to describe Job log Account ID.

*/ inline DescribeJobLogItemsRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;} /** *

Request to describe Job log Account ID.

*/ inline DescribeJobLogItemsRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;} /** *

Request to describe Job log Account ID.

*/ inline DescribeJobLogItemsRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;} /** *

Request to describe Job log job ID.

*/ inline const Aws::String& GetJobID() const{ return m_jobID; } /** *

Request to describe Job log job ID.

*/ inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; } /** *

Request to describe Job log job ID.

*/ inline void SetJobID(const Aws::String& value) { m_jobIDHasBeenSet = true; m_jobID = value; } /** *

Request to describe Job log job ID.

*/ inline void SetJobID(Aws::String&& value) { m_jobIDHasBeenSet = true; m_jobID = std::move(value); } /** *

Request to describe Job log job ID.

*/ inline void SetJobID(const char* value) { m_jobIDHasBeenSet = true; m_jobID.assign(value); } /** *

Request to describe Job log job ID.

*/ inline DescribeJobLogItemsRequest& WithJobID(const Aws::String& value) { SetJobID(value); return *this;} /** *

Request to describe Job log job ID.

*/ inline DescribeJobLogItemsRequest& WithJobID(Aws::String&& value) { SetJobID(std::move(value)); return *this;} /** *

Request to describe Job log job ID.

*/ inline DescribeJobLogItemsRequest& WithJobID(const char* value) { SetJobID(value); return *this;} /** *

Request to describe Job log item maximum results.

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

Request to describe Job log item maximum results.

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

Request to describe Job log item maximum results.

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

Request to describe Job log item maximum results.

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

Request to describe Job log next token.

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

Request to describe Job log next token.

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

Request to describe Job log next token.

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

Request to describe Job log next token.

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

Request to describe Job log next token.

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

Request to describe Job log next token.

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

Request to describe Job log next token.

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

Request to describe Job log next token.

*/ inline DescribeJobLogItemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_accountID; bool m_accountIDHasBeenSet = false; Aws::String m_jobID; bool m_jobIDHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws