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

A list of rotation overrides in the specified time range.

*/ inline const Aws::Vector& GetRotationOverrides() const{ return m_rotationOverrides; } /** *

A list of rotation overrides in the specified time range.

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

A list of rotation overrides in the specified time range.

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

A list of rotation overrides in the specified time range.

*/ inline ListRotationOverridesResult& WithRotationOverrides(const Aws::Vector& value) { SetRotationOverrides(value); return *this;} /** *

A list of rotation overrides in the specified time range.

*/ inline ListRotationOverridesResult& WithRotationOverrides(Aws::Vector&& value) { SetRotationOverrides(std::move(value)); return *this;} /** *

A list of rotation overrides in the specified time range.

*/ inline ListRotationOverridesResult& AddRotationOverrides(const RotationOverride& value) { m_rotationOverrides.push_back(value); return *this; } /** *

A list of rotation overrides in the specified time range.

*/ inline ListRotationOverridesResult& AddRotationOverrides(RotationOverride&& value) { m_rotationOverrides.push_back(std::move(value)); return *this; } /** *

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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

The token for the next set of items to return. Use this token to get the next * set of results.

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