AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeHomeRegionControlsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/migrationhub-config/MigrationHubConfigRequest.h>
9#include <aws/migrationhub-config/MigrationHubConfig_EXPORTS.h>
10#include <aws/migrationhub-config/model/Target.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MigrationHubConfig {
16namespace Model {
17
21 public:
22 AWS_MIGRATIONHUBCONFIG_API DescribeHomeRegionControlsRequest() = 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 "DescribeHomeRegionControls"; }
29
30 AWS_MIGRATIONHUBCONFIG_API Aws::String SerializePayload() const override;
31
32 AWS_MIGRATIONHUBCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetControlId() const { return m_controlId; }
40 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
41 template <typename ControlIdT = Aws::String>
42 void SetControlId(ControlIdT&& value) {
43 m_controlIdHasBeenSet = true;
44 m_controlId = std::forward<ControlIdT>(value);
45 }
46 template <typename ControlIdT = Aws::String>
48 SetControlId(std::forward<ControlIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetHomeRegion() const { return m_homeRegion; }
58 inline bool HomeRegionHasBeenSet() const { return m_homeRegionHasBeenSet; }
59 template <typename HomeRegionT = Aws::String>
60 void SetHomeRegion(HomeRegionT&& value) {
61 m_homeRegionHasBeenSet = true;
62 m_homeRegion = std::forward<HomeRegionT>(value);
63 }
64 template <typename HomeRegionT = Aws::String>
66 SetHomeRegion(std::forward<HomeRegionT>(value));
67 return *this;
68 }
70
72
77 inline const Target& GetTarget() const { return m_target; }
78 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
79 template <typename TargetT = Target>
80 void SetTarget(TargetT&& value) {
81 m_targetHasBeenSet = true;
82 m_target = std::forward<TargetT>(value);
83 }
84 template <typename TargetT = Target>
86 SetTarget(std::forward<TargetT>(value));
87 return *this;
88 }
90
92
95 inline int GetMaxResults() const { return m_maxResults; }
96 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 inline void SetMaxResults(int value) {
98 m_maxResultsHasBeenSet = true;
99 m_maxResults = value;
100 }
102 SetMaxResults(value);
103 return *this;
104 }
106
108
113 inline const Aws::String& GetNextToken() const { return m_nextToken; }
114 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
115 template <typename NextTokenT = Aws::String>
116 void SetNextToken(NextTokenT&& value) {
117 m_nextTokenHasBeenSet = true;
118 m_nextToken = std::forward<NextTokenT>(value);
119 }
120 template <typename NextTokenT = Aws::String>
122 SetNextToken(std::forward<NextTokenT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_controlId;
128
129 Aws::String m_homeRegion;
130
131 Target m_target;
132
133 int m_maxResults{0};
134
135 Aws::String m_nextToken;
136 bool m_controlIdHasBeenSet = false;
137 bool m_homeRegionHasBeenSet = false;
138 bool m_targetHasBeenSet = false;
139 bool m_maxResultsHasBeenSet = false;
140 bool m_nextTokenHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace MigrationHubConfig
145} // namespace Aws
AWS_MIGRATIONHUBCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_MIGRATIONHUBCONFIG_API Aws::String SerializePayload() const override
AWS_MIGRATIONHUBCONFIG_API DescribeHomeRegionControlsRequest()=default
DescribeHomeRegionControlsRequest & WithNextToken(NextTokenT &&value)
DescribeHomeRegionControlsRequest & WithHomeRegion(HomeRegionT &&value)
DescribeHomeRegionControlsRequest & WithControlId(ControlIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String