AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ListActionsResult.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/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ActionSummary.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 SageMaker {
24namespace Model {
26 public:
27 AWS_SAGEMAKER_API ListActionsResult() = default;
30
32
35 inline const Aws::Vector<ActionSummary>& GetActionSummaries() const { return m_actionSummaries; }
36 template <typename ActionSummariesT = Aws::Vector<ActionSummary>>
37 void SetActionSummaries(ActionSummariesT&& value) {
38 m_actionSummariesHasBeenSet = true;
39 m_actionSummaries = std::forward<ActionSummariesT>(value);
40 }
41 template <typename ActionSummariesT = Aws::Vector<ActionSummary>>
42 ListActionsResult& WithActionSummaries(ActionSummariesT&& value) {
43 SetActionSummaries(std::forward<ActionSummariesT>(value));
44 return *this;
45 }
46 template <typename ActionSummariesT = ActionSummary>
47 ListActionsResult& AddActionSummaries(ActionSummariesT&& value) {
48 m_actionSummariesHasBeenSet = true;
49 m_actionSummaries.emplace_back(std::forward<ActionSummariesT>(value));
50 return *this;
51 }
53
55
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>
65 ListActionsResult& WithNextToken(NextTokenT&& value) {
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>
80 ListActionsResult& WithRequestId(RequestIdT&& value) {
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 Aws::Vector<ActionSummary> m_actionSummaries;
87
88 Aws::String m_nextToken;
89
90 Aws::String m_requestId;
91 bool m_actionSummariesHasBeenSet = false;
92 bool m_nextTokenHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
AWS_SAGEMAKER_API ListActionsResult()=default
ListActionsResult & WithNextToken(NextTokenT &&value)
void SetActionSummaries(ActionSummariesT &&value)
const Aws::String & GetNextToken() const
const Aws::Vector< ActionSummary > & GetActionSummaries() const
ListActionsResult & AddActionSummaries(ActionSummariesT &&value)
ListActionsResult & WithActionSummaries(ActionSummariesT &&value)
AWS_SAGEMAKER_API ListActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_SAGEMAKER_API ListActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListActionsResult & WithRequestId(RequestIdT &&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