AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFilter(const EntityFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
46 inline void SetFilter(EntityFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
47 inline DescribeAffectedEntitiesRequest& WithFilter(const EntityFilter& value) { SetFilter(value); return *this;}
48 inline DescribeAffectedEntitiesRequest& WithFilter(EntityFilter&& value) { SetFilter(std::move(value)); return *this;}
50
52
56 inline const Aws::String& GetLocale() const{ return m_locale; }
57 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
58 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
59 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
60 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
61 inline DescribeAffectedEntitiesRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
62 inline DescribeAffectedEntitiesRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
63 inline DescribeAffectedEntitiesRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
65
67
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 inline DescribeAffectedEntitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline DescribeAffectedEntitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline DescribeAffectedEntitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline DescribeAffectedEntitiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94 private:
95
96 EntityFilter m_filter;
97 bool m_filterHasBeenSet = false;
98
99 Aws::String m_locale;
100 bool m_localeHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104
105 int m_maxResults;
106 bool m_maxResultsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Health
111} // namespace Aws
DescribeAffectedEntitiesRequest & WithLocale(const Aws::String &value)
DescribeAffectedEntitiesRequest & WithNextToken(const char *value)
DescribeAffectedEntitiesRequest & WithMaxResults(int value)
DescribeAffectedEntitiesRequest & WithNextToken(const Aws::String &value)
AWS_HEALTH_API Aws::String SerializePayload() const override
DescribeAffectedEntitiesRequest & WithNextToken(Aws::String &&value)
DescribeAffectedEntitiesRequest & WithFilter(EntityFilter &&value)
DescribeAffectedEntitiesRequest & WithFilter(const EntityFilter &value)
DescribeAffectedEntitiesRequest & WithLocale(const char *value)
DescribeAffectedEntitiesRequest & WithLocale(Aws::String &&value)
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