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/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudcontrol/model/ResourceDescription.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 CloudControlApi
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDCONTROLAPI_API ListResourcesResult();
35
36
38
41 inline const Aws::String& GetTypeName() const{ return m_typeName; }
42 inline void SetTypeName(const Aws::String& value) { m_typeName = value; }
43 inline void SetTypeName(Aws::String&& value) { m_typeName = std::move(value); }
44 inline void SetTypeName(const char* value) { m_typeName.assign(value); }
45 inline ListResourcesResult& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
46 inline ListResourcesResult& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
47 inline ListResourcesResult& WithTypeName(const char* value) { SetTypeName(value); return *this;}
49
51
55 inline const Aws::Vector<ResourceDescription>& GetResourceDescriptions() const{ return m_resourceDescriptions; }
56 inline void SetResourceDescriptions(const Aws::Vector<ResourceDescription>& value) { m_resourceDescriptions = value; }
57 inline void SetResourceDescriptions(Aws::Vector<ResourceDescription>&& value) { m_resourceDescriptions = std::move(value); }
60 inline ListResourcesResult& AddResourceDescriptions(const ResourceDescription& value) { m_resourceDescriptions.push_back(value); return *this; }
61 inline ListResourcesResult& AddResourceDescriptions(ResourceDescription&& value) { m_resourceDescriptions.push_back(std::move(value)); return *this; }
63
65
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
76 inline ListResourcesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListResourcesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListResourcesResult& WithNextToken(const char* value) { SetNextToken(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_typeName;
94
95 Aws::Vector<ResourceDescription> m_resourceDescriptions;
96
97 Aws::String m_nextToken;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace CloudControlApi
104} // namespace Aws
ListResourcesResult & WithRequestId(Aws::String &&value)
ListResourcesResult & WithNextToken(const char *value)
ListResourcesResult & WithResourceDescriptions(Aws::Vector< ResourceDescription > &&value)
const Aws::Vector< ResourceDescription > & GetResourceDescriptions() const
void SetResourceDescriptions(const Aws::Vector< ResourceDescription > &value)
ListResourcesResult & WithRequestId(const Aws::String &value)
AWS_CLOUDCONTROLAPI_API ListResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListResourcesResult & WithTypeName(const Aws::String &value)
ListResourcesResult & WithTypeName(const char *value)
ListResourcesResult & WithRequestId(const char *value)
AWS_CLOUDCONTROLAPI_API ListResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListResourcesResult & AddResourceDescriptions(ResourceDescription &&value)
ListResourcesResult & AddResourceDescriptions(const ResourceDescription &value)
ListResourcesResult & WithTypeName(Aws::String &&value)
ListResourcesResult & WithNextToken(Aws::String &&value)
ListResourcesResult & WithNextToken(const Aws::String &value)
ListResourcesResult & WithResourceDescriptions(const Aws::Vector< ResourceDescription > &value)
void SetResourceDescriptions(Aws::Vector< ResourceDescription > &&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