AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListVirtualRoutersResult.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appmesh/model/VirtualRouterRef.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 AppMesh
26{
27namespace Model
28{
35 {
36 public:
37 AWS_APPMESH_API ListVirtualRoutersResult();
40
41
43
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 ListVirtualRoutersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
55 inline ListVirtualRoutersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
56 inline ListVirtualRoutersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
58
60
63 inline const Aws::Vector<VirtualRouterRef>& GetVirtualRouters() const{ return m_virtualRouters; }
64 inline void SetVirtualRouters(const Aws::Vector<VirtualRouterRef>& value) { m_virtualRouters = value; }
65 inline void SetVirtualRouters(Aws::Vector<VirtualRouterRef>&& value) { m_virtualRouters = std::move(value); }
68 inline ListVirtualRoutersResult& AddVirtualRouters(const VirtualRouterRef& value) { m_virtualRouters.push_back(value); return *this; }
69 inline ListVirtualRoutersResult& AddVirtualRouters(VirtualRouterRef&& value) { m_virtualRouters.push_back(std::move(value)); return *this; }
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline ListVirtualRoutersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline ListVirtualRoutersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline ListVirtualRoutersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Aws::String m_nextToken;
85
86 Aws::Vector<VirtualRouterRef> m_virtualRouters;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace AppMesh
93} // namespace Aws
AWS_APPMESH_API ListVirtualRoutersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListVirtualRoutersResult & WithVirtualRouters(const Aws::Vector< VirtualRouterRef > &value)
ListVirtualRoutersResult & WithNextToken(const char *value)
ListVirtualRoutersResult & WithNextToken(Aws::String &&value)
ListVirtualRoutersResult & WithNextToken(const Aws::String &value)
ListVirtualRoutersResult & WithVirtualRouters(Aws::Vector< VirtualRouterRef > &&value)
ListVirtualRoutersResult & AddVirtualRouters(const VirtualRouterRef &value)
ListVirtualRoutersResult & WithRequestId(const Aws::String &value)
const Aws::Vector< VirtualRouterRef > & GetVirtualRouters() const
ListVirtualRoutersResult & WithRequestId(const char *value)
void SetVirtualRouters(const Aws::Vector< VirtualRouterRef > &value)
void SetVirtualRouters(Aws::Vector< VirtualRouterRef > &&value)
AWS_APPMESH_API ListVirtualRoutersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListVirtualRoutersResult & WithRequestId(Aws::String &&value)
ListVirtualRoutersResult & AddVirtualRouters(VirtualRouterRef &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue