AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ListAppsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10#include <aws/simspaceweaver/model/SimulationAppMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SimSpaceWeaver {
24namespace Model {
26 public:
27 AWS_SIMSPACEWEAVER_API ListAppsResult() = default;
30
32
35 inline const Aws::Vector<SimulationAppMetadata>& GetApps() const { return m_apps; }
36 template <typename AppsT = Aws::Vector<SimulationAppMetadata>>
37 void SetApps(AppsT&& value) {
38 m_appsHasBeenSet = true;
39 m_apps = std::forward<AppsT>(value);
40 }
41 template <typename AppsT = Aws::Vector<SimulationAppMetadata>>
42 ListAppsResult& WithApps(AppsT&& value) {
43 SetApps(std::forward<AppsT>(value));
44 return *this;
45 }
46 template <typename AppsT = SimulationAppMetadata>
47 ListAppsResult& AddApps(AppsT&& value) {
48 m_appsHasBeenSet = true;
49 m_apps.emplace_back(std::forward<AppsT>(value));
50 return *this;
51 }
53
55
64 inline const Aws::String& GetNextToken() const { return m_nextToken; }
65 template <typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) {
67 m_nextTokenHasBeenSet = true;
68 m_nextToken = std::forward<NextTokenT>(value);
69 }
70 template <typename NextTokenT = Aws::String>
71 ListAppsResult& WithNextToken(NextTokenT&& value) {
72 SetNextToken(std::forward<NextTokenT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
86 ListAppsResult& WithRequestId(RequestIdT&& value) {
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
93
94 Aws::String m_nextToken;
95
96 Aws::String m_requestId;
97 bool m_appsHasBeenSet = false;
98 bool m_nextTokenHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace SimSpaceWeaver
104} // namespace Aws
AWS_SIMSPACEWEAVER_API ListAppsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SIMSPACEWEAVER_API ListAppsResult()=default
const Aws::Vector< SimulationAppMetadata > & GetApps() const
const Aws::String & GetNextToken() const
ListAppsResult & WithNextToken(NextTokenT &&value)
ListAppsResult & WithRequestId(RequestIdT &&value)
ListAppsResult & AddApps(AppsT &&value)
const Aws::String & GetRequestId() const
AWS_SIMSPACEWEAVER_API ListAppsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAppsResult & WithApps(AppsT &&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