/** * 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 DirectoryService { namespace Model { class DescribeUpdateDirectoryResult { public: AWS_DIRECTORYSERVICE_API DescribeUpdateDirectoryResult(); AWS_DIRECTORYSERVICE_API DescribeUpdateDirectoryResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTORYSERVICE_API DescribeUpdateDirectoryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of update activities on a directory for the requested update type. *

*/ inline const Aws::Vector& GetUpdateActivities() const{ return m_updateActivities; } /** *

The list of update activities on a directory for the requested update type. *

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

The list of update activities on a directory for the requested update type. *

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

The list of update activities on a directory for the requested update type. *

*/ inline DescribeUpdateDirectoryResult& WithUpdateActivities(const Aws::Vector& value) { SetUpdateActivities(value); return *this;} /** *

The list of update activities on a directory for the requested update type. *

*/ inline DescribeUpdateDirectoryResult& WithUpdateActivities(Aws::Vector&& value) { SetUpdateActivities(std::move(value)); return *this;} /** *

The list of update activities on a directory for the requested update type. *

*/ inline DescribeUpdateDirectoryResult& AddUpdateActivities(const UpdateInfoEntry& value) { m_updateActivities.push_back(value); return *this; } /** *

The list of update activities on a directory for the requested update type. *

*/ inline DescribeUpdateDirectoryResult& AddUpdateActivities(UpdateInfoEntry&& value) { m_updateActivities.push_back(std::move(value)); return *this; } /** *

If not null, more results are available. Pass this value for the * NextToken parameter.

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

If not null, more results are available. Pass this value for the * NextToken parameter.

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

If not null, more results are available. Pass this value for the * NextToken parameter.

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

If not null, more results are available. Pass this value for the * NextToken parameter.

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

If not null, more results are available. Pass this value for the * NextToken parameter.

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

If not null, more results are available. Pass this value for the * NextToken parameter.

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

If not null, more results are available. Pass this value for the * NextToken parameter.

*/ inline DescribeUpdateDirectoryResult& 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 DescribeUpdateDirectoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeUpdateDirectoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeUpdateDirectoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_updateActivities; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws