/** * 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 MediaPackageVod { namespace Model { class ListPackagingConfigurationsResult { public: AWS_MEDIAPACKAGEVOD_API ListPackagingConfigurationsResult(); AWS_MEDIAPACKAGEVOD_API ListPackagingConfigurationsResult(const Aws::AmazonWebServiceResult& result); AWS_MEDIAPACKAGEVOD_API ListPackagingConfigurationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** * A token that can be used to resume pagination from the end of the collection. */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** * A token that can be used to resume pagination from the end of the collection. */ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** * A token that can be used to resume pagination from the end of the collection. */ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** * A token that can be used to resume pagination from the end of the collection. */ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** * A token that can be used to resume pagination from the end of the collection. */ inline ListPackagingConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** * A token that can be used to resume pagination from the end of the collection. */ inline ListPackagingConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** * A token that can be used to resume pagination from the end of the collection. */ inline ListPackagingConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** * A list of MediaPackage VOD PackagingConfiguration resources. */ inline const Aws::Vector& GetPackagingConfigurations() const{ return m_packagingConfigurations; } /** * A list of MediaPackage VOD PackagingConfiguration resources. */ inline void SetPackagingConfigurations(const Aws::Vector& value) { m_packagingConfigurations = value; } /** * A list of MediaPackage VOD PackagingConfiguration resources. */ inline void SetPackagingConfigurations(Aws::Vector&& value) { m_packagingConfigurations = std::move(value); } /** * A list of MediaPackage VOD PackagingConfiguration resources. */ inline ListPackagingConfigurationsResult& WithPackagingConfigurations(const Aws::Vector& value) { SetPackagingConfigurations(value); return *this;} /** * A list of MediaPackage VOD PackagingConfiguration resources. */ inline ListPackagingConfigurationsResult& WithPackagingConfigurations(Aws::Vector&& value) { SetPackagingConfigurations(std::move(value)); return *this;} /** * A list of MediaPackage VOD PackagingConfiguration resources. */ inline ListPackagingConfigurationsResult& AddPackagingConfigurations(const PackagingConfiguration& value) { m_packagingConfigurations.push_back(value); return *this; } /** * A list of MediaPackage VOD PackagingConfiguration resources. */ inline ListPackagingConfigurationsResult& AddPackagingConfigurations(PackagingConfiguration&& value) { m_packagingConfigurations.push_back(std::move(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 ListPackagingConfigurationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListPackagingConfigurationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListPackagingConfigurationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_packagingConfigurations; Aws::String m_requestId; }; } // namespace Model } // namespace MediaPackageVod } // namespace Aws