AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListOutpostsResult.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/outposts/model/Outpost.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Outposts
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OUTPOSTS_API ListOutpostsResult();
35
36
38
39 inline const Aws::Vector<Outpost>& GetOutposts() const{ return m_outposts; }
40 inline void SetOutposts(const Aws::Vector<Outpost>& value) { m_outposts = value; }
41 inline void SetOutposts(Aws::Vector<Outpost>&& value) { m_outposts = std::move(value); }
42 inline ListOutpostsResult& WithOutposts(const Aws::Vector<Outpost>& value) { SetOutposts(value); return *this;}
43 inline ListOutpostsResult& WithOutposts(Aws::Vector<Outpost>&& value) { SetOutposts(std::move(value)); return *this;}
44 inline ListOutpostsResult& AddOutposts(const Outpost& value) { m_outposts.push_back(value); return *this; }
45 inline ListOutpostsResult& AddOutposts(Outpost&& value) { m_outposts.push_back(std::move(value)); return *this; }
47
49
50 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
52 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
53 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
54 inline ListOutpostsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
55 inline ListOutpostsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
56 inline ListOutpostsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline ListOutpostsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline ListOutpostsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline ListOutpostsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 Aws::Vector<Outpost> m_outposts;
72
73 Aws::String m_nextToken;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace Outposts
80} // namespace Aws
void SetNextToken(const Aws::String &value)
AWS_OUTPOSTS_API ListOutpostsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListOutpostsResult & WithOutposts(Aws::Vector< Outpost > &&value)
void SetOutposts(const Aws::Vector< Outpost > &value)
ListOutpostsResult & AddOutposts(const Outpost &value)
void SetRequestId(const Aws::String &value)
ListOutpostsResult & WithNextToken(const Aws::String &value)
ListOutpostsResult & WithRequestId(const char *value)
ListOutpostsResult & WithRequestId(const Aws::String &value)
ListOutpostsResult & WithNextToken(Aws::String &&value)
ListOutpostsResult & WithNextToken(const char *value)
void SetOutposts(Aws::Vector< Outpost > &&value)
ListOutpostsResult & WithOutposts(const Aws::Vector< Outpost > &value)
ListOutpostsResult & AddOutposts(Outpost &&value)
const Aws::Vector< Outpost > & GetOutposts() const
ListOutpostsResult & WithRequestId(Aws::String &&value)
AWS_OUTPOSTS_API ListOutpostsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue