AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetResourceCollectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
9#include <aws/devops-guru/model/ResourceCollectionFilter.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace DevOpsGuru {
23namespace Model {
25 public:
26 AWS_DEVOPSGURU_API GetResourceCollectionResult() = default;
29
31
40 inline const ResourceCollectionFilter& GetResourceCollection() const { return m_resourceCollection; }
41 template <typename ResourceCollectionT = ResourceCollectionFilter>
42 void SetResourceCollection(ResourceCollectionT&& value) {
43 m_resourceCollectionHasBeenSet = true;
44 m_resourceCollection = std::forward<ResourceCollectionT>(value);
45 }
46 template <typename ResourceCollectionT = ResourceCollectionFilter>
48 SetResourceCollection(std::forward<ResourceCollectionT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetNextToken() const { return m_nextToken; }
59 template <typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) {
61 m_nextTokenHasBeenSet = true;
62 m_nextToken = std::forward<NextTokenT>(value);
63 }
64 template <typename NextTokenT = Aws::String>
66 SetNextToken(std::forward<NextTokenT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 ResourceCollectionFilter m_resourceCollection;
87
88 Aws::String m_nextToken;
89
90 Aws::String m_requestId;
91 bool m_resourceCollectionHasBeenSet = false;
92 bool m_nextTokenHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace DevOpsGuru
98} // namespace Aws
GetResourceCollectionResult & WithRequestId(RequestIdT &&value)
AWS_DEVOPSGURU_API GetResourceCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceCollectionResult & WithNextToken(NextTokenT &&value)
AWS_DEVOPSGURU_API GetResourceCollectionResult()=default
const ResourceCollectionFilter & GetResourceCollection() const
GetResourceCollectionResult & WithResourceCollection(ResourceCollectionT &&value)
AWS_DEVOPSGURU_API GetResourceCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue