AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetTypeName() const { return m_typeName; }
42 template<typename TypeNameT = Aws::String>
43 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
44 template<typename TypeNameT = Aws::String>
45 ListResourcesResult& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
47
49
53 inline const Aws::Vector<ResourceDescription>& GetResourceDescriptions() const { return m_resourceDescriptions; }
54 template<typename ResourceDescriptionsT = Aws::Vector<ResourceDescription>>
55 void SetResourceDescriptions(ResourceDescriptionsT&& value) { m_resourceDescriptionsHasBeenSet = true; m_resourceDescriptions = std::forward<ResourceDescriptionsT>(value); }
56 template<typename ResourceDescriptionsT = Aws::Vector<ResourceDescription>>
57 ListResourcesResult& WithResourceDescriptions(ResourceDescriptionsT&& value) { SetResourceDescriptions(std::forward<ResourceDescriptionsT>(value)); return *this;}
58 template<typename ResourceDescriptionsT = ResourceDescription>
59 ListResourcesResult& AddResourceDescriptions(ResourceDescriptionsT&& value) { m_resourceDescriptionsHasBeenSet = true; m_resourceDescriptions.emplace_back(std::forward<ResourceDescriptionsT>(value)); return *this; }
61
63
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 template<typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
73 template<typename NextTokenT = Aws::String>
74 ListResourcesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template<typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
82 template<typename RequestIdT = Aws::String>
83 ListResourcesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
85 private:
86
87 Aws::String m_typeName;
88 bool m_typeNameHasBeenSet = false;
89
90 Aws::Vector<ResourceDescription> m_resourceDescriptions;
91 bool m_resourceDescriptionsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CloudControlApi
102} // namespace Aws
ListResourcesResult & AddResourceDescriptions(ResourceDescriptionsT &&value)
AWS_CLOUDCONTROLAPI_API ListResourcesResult()=default
void SetResourceDescriptions(ResourceDescriptionsT &&value)
ListResourcesResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ResourceDescription > & GetResourceDescriptions() const
AWS_CLOUDCONTROLAPI_API ListResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDCONTROLAPI_API ListResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListResourcesResult & WithResourceDescriptions(ResourceDescriptionsT &&value)
ListResourcesResult & WithTypeName(TypeNameT &&value)
ListResourcesResult & WithNextToken(NextTokenT &&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