AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DescribeEventsRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormationRequest.h>
8#include <aws/cloudformation/CloudFormation_EXPORTS.h>
9#include <aws/cloudformation/model/EventFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudFormation {
16namespace Model {
17
21 public:
22 AWS_CLOUDFORMATION_API DescribeEventsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeEvents"; }
29
30 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
42 inline const Aws::String& GetStackName() const { return m_stackName; }
43 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
44 template <typename StackNameT = Aws::String>
45 void SetStackName(StackNameT&& value) {
46 m_stackNameHasBeenSet = true;
47 m_stackName = std::forward<StackNameT>(value);
48 }
49 template <typename StackNameT = Aws::String>
50 DescribeEventsRequest& WithStackName(StackNameT&& value) {
51 SetStackName(std::forward<StackNameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetChangeSetName() const { return m_changeSetName; }
62 inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
63 template <typename ChangeSetNameT = Aws::String>
64 void SetChangeSetName(ChangeSetNameT&& value) {
65 m_changeSetNameHasBeenSet = true;
66 m_changeSetName = std::forward<ChangeSetNameT>(value);
67 }
68 template <typename ChangeSetNameT = Aws::String>
69 DescribeEventsRequest& WithChangeSetName(ChangeSetNameT&& value) {
70 SetChangeSetName(std::forward<ChangeSetNameT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetOperationId() const { return m_operationId; }
81 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
82 template <typename OperationIdT = Aws::String>
83 void SetOperationId(OperationIdT&& value) {
84 m_operationIdHasBeenSet = true;
85 m_operationId = std::forward<OperationIdT>(value);
86 }
87 template <typename OperationIdT = Aws::String>
88 DescribeEventsRequest& WithOperationId(OperationIdT&& value) {
89 SetOperationId(std::forward<OperationIdT>(value));
90 return *this;
91 }
93
95
98 inline const EventFilter& GetFilters() const { return m_filters; }
99 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
100 template <typename FiltersT = EventFilter>
101 void SetFilters(FiltersT&& value) {
102 m_filtersHasBeenSet = true;
103 m_filters = std::forward<FiltersT>(value);
104 }
105 template <typename FiltersT = EventFilter>
107 SetFilters(std::forward<FiltersT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetNextToken() const { return m_nextToken; }
118 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
119 template <typename NextTokenT = Aws::String>
120 void SetNextToken(NextTokenT&& value) {
121 m_nextTokenHasBeenSet = true;
122 m_nextToken = std::forward<NextTokenT>(value);
123 }
124 template <typename NextTokenT = Aws::String>
126 SetNextToken(std::forward<NextTokenT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_stackName;
132
133 Aws::String m_changeSetName;
134
135 Aws::String m_operationId;
136
137 EventFilter m_filters;
138
139 Aws::String m_nextToken;
140 bool m_stackNameHasBeenSet = false;
141 bool m_changeSetNameHasBeenSet = false;
142 bool m_operationIdHasBeenSet = false;
143 bool m_filtersHasBeenSet = false;
144 bool m_nextTokenHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace CloudFormation
149} // namespace Aws
DescribeEventsRequest & WithStackName(StackNameT &&value)
DescribeEventsRequest & WithChangeSetName(ChangeSetNameT &&value)
DescribeEventsRequest & WithNextToken(NextTokenT &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DescribeEventsRequest & WithFilters(FiltersT &&value)
DescribeEventsRequest & WithOperationId(OperationIdT &&value)
AWS_CLOUDFORMATION_API DescribeEventsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String