/** * 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 Outposts { namespace Model { class ListOutpostsResult { public: AWS_OUTPOSTS_API ListOutpostsResult(); AWS_OUTPOSTS_API ListOutpostsResult(const Aws::AmazonWebServiceResult& result); AWS_OUTPOSTS_API ListOutpostsResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::Vector& GetOutposts() const{ return m_outposts; } inline void SetOutposts(const Aws::Vector& value) { m_outposts = value; } inline void SetOutposts(Aws::Vector&& value) { m_outposts = std::move(value); } inline ListOutpostsResult& WithOutposts(const Aws::Vector& value) { SetOutposts(value); return *this;} inline ListOutpostsResult& WithOutposts(Aws::Vector&& value) { SetOutposts(std::move(value)); return *this;} inline ListOutpostsResult& AddOutposts(const Outpost& value) { m_outposts.push_back(value); return *this; } inline ListOutpostsResult& AddOutposts(Outpost&& value) { m_outposts.push_back(std::move(value)); return *this; } inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } inline void SetNextToken(const char* value) { m_nextToken.assign(value); } inline ListOutpostsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} inline ListOutpostsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListOutpostsResult& 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 ListOutpostsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListOutpostsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListOutpostsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_outposts; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Outposts } // namespace Aws