/** * 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 EFS { namespace Model { /** *

See Also:

AWS * API Reference

*/ class DescribeMountTargetsResult { public: AWS_EFS_API DescribeMountTargetsResult(); AWS_EFS_API DescribeMountTargetsResult(const Aws::AmazonWebServiceResult& result); AWS_EFS_API DescribeMountTargetsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If the request included the Marker, the response returns that * value in this field.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

If the request included the Marker, the response returns that * value in this field.

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

If the request included the Marker, the response returns that * value in this field.

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

If the request included the Marker, the response returns that * value in this field.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

If the request included the Marker, the response returns that * value in this field.

*/ inline DescribeMountTargetsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

If the request included the Marker, the response returns that * value in this field.

*/ inline DescribeMountTargetsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

If the request included the Marker, the response returns that * value in this field.

*/ inline DescribeMountTargetsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Returns the file system's mount targets as an array of * MountTargetDescription objects.

*/ inline const Aws::Vector& GetMountTargets() const{ return m_mountTargets; } /** *

Returns the file system's mount targets as an array of * MountTargetDescription objects.

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

Returns the file system's mount targets as an array of * MountTargetDescription objects.

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

Returns the file system's mount targets as an array of * MountTargetDescription objects.

*/ inline DescribeMountTargetsResult& WithMountTargets(const Aws::Vector& value) { SetMountTargets(value); return *this;} /** *

Returns the file system's mount targets as an array of * MountTargetDescription objects.

*/ inline DescribeMountTargetsResult& WithMountTargets(Aws::Vector&& value) { SetMountTargets(std::move(value)); return *this;} /** *

Returns the file system's mount targets as an array of * MountTargetDescription objects.

*/ inline DescribeMountTargetsResult& AddMountTargets(const MountTargetDescription& value) { m_mountTargets.push_back(value); return *this; } /** *

Returns the file system's mount targets as an array of * MountTargetDescription objects.

*/ inline DescribeMountTargetsResult& AddMountTargets(MountTargetDescription&& value) { m_mountTargets.push_back(std::move(value)); return *this; } /** *

If a value is present, there are more mount targets to return. In a * subsequent request, you can provide Marker in your request with * this value to retrieve the next set of mount targets.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

If a value is present, there are more mount targets to return. In a * subsequent request, you can provide Marker in your request with * this value to retrieve the next set of mount targets.

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

If a value is present, there are more mount targets to return. In a * subsequent request, you can provide Marker in your request with * this value to retrieve the next set of mount targets.

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

If a value is present, there are more mount targets to return. In a * subsequent request, you can provide Marker in your request with * this value to retrieve the next set of mount targets.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

If a value is present, there are more mount targets to return. In a * subsequent request, you can provide Marker in your request with * this value to retrieve the next set of mount targets.

*/ inline DescribeMountTargetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

If a value is present, there are more mount targets to return. In a * subsequent request, you can provide Marker in your request with * this value to retrieve the next set of mount targets.

*/ inline DescribeMountTargetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

If a value is present, there are more mount targets to return. In a * subsequent request, you can provide Marker in your request with * this value to retrieve the next set of mount targets.

*/ inline DescribeMountTargetsResult& WithNextMarker(const char* value) { SetNextMarker(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 DescribeMountTargetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMountTargetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMountTargetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_marker; Aws::Vector m_mountTargets; Aws::String m_nextMarker; Aws::String m_requestId; }; } // namespace Model } // namespace EFS } // namespace Aws