AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeAffectedEntitiesRequest.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/EntityFilter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Health {
16namespace Model {
17
21 public:
22 AWS_HEALTH_API DescribeAffectedEntitiesRequest() = 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 "DescribeAffectedEntities"; }
29
30 AWS_HEALTH_API Aws::String SerializePayload() const override;
31
33
35
39 inline const EntityFilter& GetFilter() const { return m_filter; }
40 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
41 template <typename FilterT = EntityFilter>
42 void SetFilter(FilterT&& value) {
43 m_filterHasBeenSet = true;
44 m_filter = std::forward<FilterT>(value);
45 }
46 template <typename FilterT = EntityFilter>
48 SetFilter(std::forward<FilterT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetLocale() const { return m_locale; }
59 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
60 template <typename LocaleT = Aws::String>
61 void SetLocale(LocaleT&& value) {
62 m_localeHasBeenSet = true;
63 m_locale = std::forward<LocaleT>(value);
64 }
65 template <typename LocaleT = Aws::String>
67 SetLocale(std::forward<LocaleT>(value));
68 return *this;
69 }
71
73
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template <typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) {
84 m_nextTokenHasBeenSet = true;
85 m_nextToken = std::forward<NextTokenT>(value);
86 }
87 template <typename NextTokenT = Aws::String>
89 SetNextToken(std::forward<NextTokenT>(value));
90 return *this;
91 }
93
95
99 inline int GetMaxResults() const { return m_maxResults; }
100 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 inline void SetMaxResults(int value) {
102 m_maxResultsHasBeenSet = true;
103 m_maxResults = value;
104 }
106 SetMaxResults(value);
107 return *this;
108 }
110 private:
111 EntityFilter m_filter;
112 bool m_filterHasBeenSet = false;
113
114 Aws::String m_locale;
115 bool m_localeHasBeenSet = false;
116
117 Aws::String m_nextToken;
118 bool m_nextTokenHasBeenSet = false;
119
120 int m_maxResults{0};
121 bool m_maxResultsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Health
126} // namespace Aws
DescribeAffectedEntitiesRequest & WithFilter(FilterT &&value)
DescribeAffectedEntitiesRequest & WithMaxResults(int value)
AWS_HEALTH_API Aws::String SerializePayload() const override
DescribeAffectedEntitiesRequest & WithNextToken(NextTokenT &&value)
DescribeAffectedEntitiesRequest & WithLocale(LocaleT &&value)
AWS_HEALTH_API DescribeAffectedEntitiesRequest()=default
AWS_HEALTH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String