/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WorkSpaces { namespace Model { class DescribeAccountModificationsResult { public: AWS_WORKSPACES_API DescribeAccountModificationsResult(); AWS_WORKSPACES_API DescribeAccountModificationsResult(const Aws::AmazonWebServiceResult& result); AWS_WORKSPACES_API DescribeAccountModificationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of modifications to the configuration of BYOL.

*/ inline const Aws::Vector& GetAccountModifications() const{ return m_accountModifications; } /** *

The list of modifications to the configuration of BYOL.

*/ inline void SetAccountModifications(const Aws::Vector& value) { m_accountModifications = value; } /** *

The list of modifications to the configuration of BYOL.

*/ inline void SetAccountModifications(Aws::Vector&& value) { m_accountModifications = std::move(value); } /** *

The list of modifications to the configuration of BYOL.

*/ inline DescribeAccountModificationsResult& WithAccountModifications(const Aws::Vector& value) { SetAccountModifications(value); return *this;} /** *

The list of modifications to the configuration of BYOL.

*/ inline DescribeAccountModificationsResult& WithAccountModifications(Aws::Vector&& value) { SetAccountModifications(std::move(value)); return *this;} /** *

The list of modifications to the configuration of BYOL.

*/ inline DescribeAccountModificationsResult& AddAccountModifications(const AccountModification& value) { m_accountModifications.push_back(value); return *this; } /** *

The list of modifications to the configuration of BYOL.

*/ inline DescribeAccountModificationsResult& AddAccountModifications(AccountModification&& value) { m_accountModifications.push_back(std::move(value)); return *this; } /** *

The token to use to retrieve the next page of results. This value is null * when there are no more results to return.

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

The token to use to retrieve the next page of results. This value is null * when there are no more results to return.

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

The token to use to retrieve the next page of results. This value is null * when there are no more results to return.

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

The token to use to retrieve the next page of results. This value is null * when there are no more results to return.

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

The token to use to retrieve the next page of results. This value is null * when there are no more results to return.

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

The token to use to retrieve the next page of results. This value is null * when there are no more results to return.

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

The token to use to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline DescribeAccountModificationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAccountModificationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAccountModificationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAccountModificationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_accountModifications; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws