AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeAffectedEntitiesRequest.h
1
6#pragma once
7#include <aws/health/Health_EXPORTS.h>
8#include <aws/health/HealthRequest.h>
9#include <aws/health/model/EntityFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Health
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_HEALTH_API DescribeAffectedEntitiesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeAffectedEntities"; }
32
33 AWS_HEALTH_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const EntityFilter& GetFilter() const { return m_filter; }
44 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
45 template<typename FilterT = EntityFilter>
46 void SetFilter(FilterT&& value) { m_filterHasBeenSet = true; m_filter = std::forward<FilterT>(value); }
47 template<typename FilterT = EntityFilter>
48 DescribeAffectedEntitiesRequest& WithFilter(FilterT&& value) { SetFilter(std::forward<FilterT>(value)); return *this;}
50
52
56 inline const Aws::String& GetLocale() const { return m_locale; }
57 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
58 template<typename LocaleT = Aws::String>
59 void SetLocale(LocaleT&& value) { m_localeHasBeenSet = true; m_locale = std::forward<LocaleT>(value); }
60 template<typename LocaleT = Aws::String>
61 DescribeAffectedEntitiesRequest& WithLocale(LocaleT&& value) { SetLocale(std::forward<LocaleT>(value)); return *this;}
63
65
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template<typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
76 template<typename NextTokenT = Aws::String>
77 DescribeAffectedEntitiesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
79
81
85 inline int GetMaxResults() const { return m_maxResults; }
86 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
88 inline DescribeAffectedEntitiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
90 private:
91
92 EntityFilter m_filter;
93 bool m_filterHasBeenSet = false;
94
95 Aws::String m_locale;
96 bool m_localeHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100
101 int m_maxResults{0};
102 bool m_maxResultsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Health
107} // 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