/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EFS { namespace Model { class DescribeAccountPreferencesResult { public: AWS_EFS_API DescribeAccountPreferencesResult(); AWS_EFS_API DescribeAccountPreferencesResult(const Aws::AmazonWebServiceResult& result); AWS_EFS_API DescribeAccountPreferencesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes the resource ID preference setting for the Amazon Web Services * account associated with the user making the request, in the current Amazon Web * Services Region.

*/ inline const ResourceIdPreference& GetResourceIdPreference() const{ return m_resourceIdPreference; } /** *

Describes the resource ID preference setting for the Amazon Web Services * account associated with the user making the request, in the current Amazon Web * Services Region.

*/ inline void SetResourceIdPreference(const ResourceIdPreference& value) { m_resourceIdPreference = value; } /** *

Describes the resource ID preference setting for the Amazon Web Services * account associated with the user making the request, in the current Amazon Web * Services Region.

*/ inline void SetResourceIdPreference(ResourceIdPreference&& value) { m_resourceIdPreference = std::move(value); } /** *

Describes the resource ID preference setting for the Amazon Web Services * account associated with the user making the request, in the current Amazon Web * Services Region.

*/ inline DescribeAccountPreferencesResult& WithResourceIdPreference(const ResourceIdPreference& value) { SetResourceIdPreference(value); return *this;} /** *

Describes the resource ID preference setting for the Amazon Web Services * account associated with the user making the request, in the current Amazon Web * Services Region.

*/ inline DescribeAccountPreferencesResult& WithResourceIdPreference(ResourceIdPreference&& value) { SetResourceIdPreference(std::move(value)); return *this;} /** *

Present if there are more records than returned in the response. You can use * the NextToken in the subsequent request to fetch the additional * descriptions.

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

Present if there are more records than returned in the response. You can use * the NextToken in the subsequent request to fetch the additional * descriptions.

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

Present if there are more records than returned in the response. You can use * the NextToken in the subsequent request to fetch the additional * descriptions.

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

Present if there are more records than returned in the response. You can use * the NextToken in the subsequent request to fetch the additional * descriptions.

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

Present if there are more records than returned in the response. You can use * the NextToken in the subsequent request to fetch the additional * descriptions.

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

Present if there are more records than returned in the response. You can use * the NextToken in the subsequent request to fetch the additional * descriptions.

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

Present if there are more records than returned in the response. You can use * the NextToken in the subsequent request to fetch the additional * descriptions.

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