AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResourcesResult.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resource-explorer-2/model/Resource.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 ResourceExplorer2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_RESOURCEEXPLORER2_API ListResourcesResult();
35
36
38
45 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
49 inline ListResourcesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListResourcesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListResourcesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
58 inline const Aws::Vector<Resource>& GetResources() const{ return m_resources; }
59 inline void SetResources(const Aws::Vector<Resource>& value) { m_resources = value; }
60 inline void SetResources(Aws::Vector<Resource>&& value) { m_resources = std::move(value); }
61 inline ListResourcesResult& WithResources(const Aws::Vector<Resource>& value) { SetResources(value); return *this;}
62 inline ListResourcesResult& WithResources(Aws::Vector<Resource>&& value) { SetResources(std::move(value)); return *this;}
63 inline ListResourcesResult& AddResources(const Resource& value) { m_resources.push_back(value); return *this; }
64 inline ListResourcesResult& AddResources(Resource&& value) { m_resources.push_back(std::move(value)); return *this; }
66
68
72 inline const Aws::String& GetViewArn() const{ return m_viewArn; }
73 inline void SetViewArn(const Aws::String& value) { m_viewArn = value; }
74 inline void SetViewArn(Aws::String&& value) { m_viewArn = std::move(value); }
75 inline void SetViewArn(const char* value) { m_viewArn.assign(value); }
76 inline ListResourcesResult& WithViewArn(const Aws::String& value) { SetViewArn(value); return *this;}
77 inline ListResourcesResult& WithViewArn(Aws::String&& value) { SetViewArn(std::move(value)); return *this;}
78 inline ListResourcesResult& WithViewArn(const char* value) { SetViewArn(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline ListResourcesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline ListResourcesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline ListResourcesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_nextToken;
94
95 Aws::Vector<Resource> m_resources;
96
97 Aws::String m_viewArn;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace ResourceExplorer2
104} // namespace Aws
ListResourcesResult & WithRequestId(const char *value)
ListResourcesResult & WithRequestId(const Aws::String &value)
ListResourcesResult & AddResources(const Resource &value)
ListResourcesResult & WithResources(const Aws::Vector< Resource > &value)
ListResourcesResult & WithViewArn(const Aws::String &value)
AWS_RESOURCEEXPLORER2_API ListResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListResourcesResult & WithNextToken(Aws::String &&value)
ListResourcesResult & AddResources(Resource &&value)
ListResourcesResult & WithRequestId(Aws::String &&value)
const Aws::Vector< Resource > & GetResources() const
void SetResources(const Aws::Vector< Resource > &value)
void SetResources(Aws::Vector< Resource > &&value)
ListResourcesResult & WithViewArn(Aws::String &&value)
AWS_RESOURCEEXPLORER2_API ListResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListResourcesResult & WithViewArn(const char *value)
ListResourcesResult & WithResources(Aws::Vector< Resource > &&value)
ListResourcesResult & WithNextToken(const char *value)
ListResourcesResult & WithNextToken(const Aws::String &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