/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include ListLocationsResponseSee Also:
AWS
* API Reference
An array that contains a list of locations.
*/ inline const Aws::VectorAn array that contains a list of locations.
*/ inline void SetLocations(const Aws::VectorAn array that contains a list of locations.
*/ inline void SetLocations(Aws::VectorAn array that contains a list of locations.
*/ inline ListLocationsResult& WithLocations(const Aws::VectorAn array that contains a list of locations.
*/ inline ListLocationsResult& WithLocations(Aws::VectorAn array that contains a list of locations.
*/ inline ListLocationsResult& AddLocations(const LocationListEntry& value) { m_locations.push_back(value); return *this; } /** *An array that contains a list of locations.
*/ inline ListLocationsResult& AddLocations(LocationListEntry&& value) { m_locations.push_back(std::move(value)); return *this; } /** *An opaque string that indicates the position at which to begin returning the * next list of locations.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *An opaque string that indicates the position at which to begin returning the * next list of locations.
*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *An opaque string that indicates the position at which to begin returning the * next list of locations.
*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *An opaque string that indicates the position at which to begin returning the * next list of locations.
*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *An opaque string that indicates the position at which to begin returning the * next list of locations.
*/ inline ListLocationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *An opaque string that indicates the position at which to begin returning the * next list of locations.
*/ inline ListLocationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *An opaque string that indicates the position at which to begin returning the * next list of locations.
*/ inline ListLocationsResult& 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 ListLocationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListLocationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListLocationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector