AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListHealthChecksResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/HealthCheck.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Route53
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ROUTE53_API ListHealthChecksResult() = default;
41
42
44
49 inline const Aws::Vector<HealthCheck>& GetHealthChecks() const { return m_healthChecks; }
50 template<typename HealthChecksT = Aws::Vector<HealthCheck>>
51 void SetHealthChecks(HealthChecksT&& value) { m_healthChecksHasBeenSet = true; m_healthChecks = std::forward<HealthChecksT>(value); }
52 template<typename HealthChecksT = Aws::Vector<HealthCheck>>
53 ListHealthChecksResult& WithHealthChecks(HealthChecksT&& value) { SetHealthChecks(std::forward<HealthChecksT>(value)); return *this;}
54 template<typename HealthChecksT = HealthCheck>
55 ListHealthChecksResult& AddHealthChecks(HealthChecksT&& value) { m_healthChecksHasBeenSet = true; m_healthChecks.emplace_back(std::forward<HealthChecksT>(value)); return *this; }
57
59
64 inline const Aws::String& GetMarker() const { return m_marker; }
65 template<typename MarkerT = Aws::String>
66 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
67 template<typename MarkerT = Aws::String>
68 ListHealthChecksResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
70
72
78 inline bool GetIsTruncated() const { return m_isTruncated; }
79 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
80 inline ListHealthChecksResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
82
84
90 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
91 template<typename NextMarkerT = Aws::String>
92 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
93 template<typename NextMarkerT = Aws::String>
94 ListHealthChecksResult& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
96
98
102 inline const Aws::String& GetMaxItems() const { return m_maxItems; }
103 template<typename MaxItemsT = Aws::String>
104 void SetMaxItems(MaxItemsT&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::forward<MaxItemsT>(value); }
105 template<typename MaxItemsT = Aws::String>
106 ListHealthChecksResult& WithMaxItems(MaxItemsT&& value) { SetMaxItems(std::forward<MaxItemsT>(value)); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
112 template<typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
114 template<typename RequestIdT = Aws::String>
115 ListHealthChecksResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
117 private:
118
119 Aws::Vector<HealthCheck> m_healthChecks;
120 bool m_healthChecksHasBeenSet = false;
121
122 Aws::String m_marker;
123 bool m_markerHasBeenSet = false;
124
125 bool m_isTruncated{false};
126 bool m_isTruncatedHasBeenSet = false;
127
128 Aws::String m_nextMarker;
129 bool m_nextMarkerHasBeenSet = false;
130
131 Aws::String m_maxItems;
132 bool m_maxItemsHasBeenSet = false;
133
134 Aws::String m_requestId;
135 bool m_requestIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Route53
140} // namespace Aws
ListHealthChecksResult & WithNextMarker(NextMarkerT &&value)
AWS_ROUTE53_API ListHealthChecksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< HealthCheck > & GetHealthChecks() const
ListHealthChecksResult & WithIsTruncated(bool value)
ListHealthChecksResult & WithRequestId(RequestIdT &&value)
ListHealthChecksResult & WithHealthChecks(HealthChecksT &&value)
AWS_ROUTE53_API ListHealthChecksResult()=default
ListHealthChecksResult & WithMarker(MarkerT &&value)
ListHealthChecksResult & AddHealthChecks(HealthChecksT &&value)
ListHealthChecksResult & WithMaxItems(MaxItemsT &&value)
AWS_ROUTE53_API ListHealthChecksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument