AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListConfigsResult.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/groundstation/GroundStation_EXPORTS.h>
10#include <aws/groundstation/model/ConfigListItem.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 GroundStation {
24namespace Model {
31 public:
32 AWS_GROUNDSTATION_API ListConfigsResult() = default;
35
37
41 inline const Aws::String& GetNextToken() const { return m_nextToken; }
42 template <typename NextTokenT = Aws::String>
43 void SetNextToken(NextTokenT&& value) {
44 m_nextTokenHasBeenSet = true;
45 m_nextToken = std::forward<NextTokenT>(value);
46 }
47 template <typename NextTokenT = Aws::String>
48 ListConfigsResult& WithNextToken(NextTokenT&& value) {
49 SetNextToken(std::forward<NextTokenT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<ConfigListItem>& GetConfigList() const { return m_configList; }
59 template <typename ConfigListT = Aws::Vector<ConfigListItem>>
60 void SetConfigList(ConfigListT&& value) {
61 m_configListHasBeenSet = true;
62 m_configList = std::forward<ConfigListT>(value);
63 }
64 template <typename ConfigListT = Aws::Vector<ConfigListItem>>
65 ListConfigsResult& WithConfigList(ConfigListT&& value) {
66 SetConfigList(std::forward<ConfigListT>(value));
67 return *this;
68 }
69 template <typename ConfigListT = ConfigListItem>
70 ListConfigsResult& AddConfigList(ConfigListT&& value) {
71 m_configListHasBeenSet = true;
72 m_configList.emplace_back(std::forward<ConfigListT>(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 ListConfigsResult& WithRequestId(RequestIdT&& value) {
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
95 Aws::Vector<ConfigListItem> m_configList;
96 bool m_configListHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace GroundStation
104} // namespace Aws
AWS_GROUNDSTATION_API ListConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConfigsResult & WithRequestId(RequestIdT &&value)
ListConfigsResult & WithNextToken(NextTokenT &&value)
AWS_GROUNDSTATION_API ListConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GROUNDSTATION_API ListConfigsResult()=default
ListConfigsResult & WithConfigList(ConfigListT &&value)
const Aws::Vector< ConfigListItem > & GetConfigList() const
ListConfigsResult & AddConfigList(ConfigListT &&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