AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
DescribeServiceLifecycleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/health/HealthRequest.h>
9#include <aws/health/Health_EXPORTS.h>
10#include <aws/health/model/ServiceLifecycleFilter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Health {
16namespace Model {
17
21 public:
22 AWS_HEALTH_API DescribeServiceLifecycleRequest() = 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 "DescribeServiceLifecycle"; }
29
30 AWS_HEALTH_API Aws::String SerializePayload() const override;
31
33
35
38 inline const ServiceLifecycleFilter& GetFilter() const { return m_filter; }
39 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
40 template <typename FilterT = ServiceLifecycleFilter>
41 void SetFilter(FilterT&& value) {
42 m_filterHasBeenSet = true;
43 m_filter = std::forward<FilterT>(value);
44 }
45 template <typename FilterT = ServiceLifecycleFilter>
47 SetFilter(std::forward<FilterT>(value));
48 return *this;
49 }
51
53
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template <typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) {
64 m_nextTokenHasBeenSet = true;
65 m_nextToken = std::forward<NextTokenT>(value);
66 }
67 template <typename NextTokenT = Aws::String>
69 SetNextToken(std::forward<NextTokenT>(value));
70 return *this;
71 }
73
75
79 inline int GetMaxResults() const { return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) {
82 m_maxResultsHasBeenSet = true;
83 m_maxResults = value;
84 }
86 SetMaxResults(value);
87 return *this;
88 }
90 private:
92
93 Aws::String m_nextToken;
94
95 int m_maxResults{0};
96 bool m_filterHasBeenSet = false;
97 bool m_nextTokenHasBeenSet = false;
98 bool m_maxResultsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Health
103} // namespace Aws
AWS_HEALTH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_HEALTH_API DescribeServiceLifecycleRequest()=default
DescribeServiceLifecycleRequest & WithNextToken(NextTokenT &&value)
DescribeServiceLifecycleRequest & WithMaxResults(int value)
DescribeServiceLifecycleRequest & WithFilter(FilterT &&value)
AWS_HEALTH_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String