AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
49 inline const Aws::Vector<HealthCheck>& GetHealthChecks() const{ return m_healthChecks; }
50 inline void SetHealthChecks(const Aws::Vector<HealthCheck>& value) { m_healthChecks = value; }
51 inline void SetHealthChecks(Aws::Vector<HealthCheck>&& value) { m_healthChecks = std::move(value); }
53 inline ListHealthChecksResult& WithHealthChecks(Aws::Vector<HealthCheck>&& value) { SetHealthChecks(std::move(value)); return *this;}
54 inline ListHealthChecksResult& AddHealthChecks(const HealthCheck& value) { m_healthChecks.push_back(value); return *this; }
55 inline ListHealthChecksResult& AddHealthChecks(HealthCheck&& value) { m_healthChecks.push_back(std::move(value)); return *this; }
57
59
64 inline const Aws::String& GetMarker() const{ return m_marker; }
65 inline void SetMarker(const Aws::String& value) { m_marker = value; }
66 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
67 inline void SetMarker(const char* value) { m_marker.assign(value); }
68 inline ListHealthChecksResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
69 inline ListHealthChecksResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
70 inline ListHealthChecksResult& WithMarker(const char* value) { SetMarker(value); return *this;}
72
74
80 inline bool GetIsTruncated() const{ return m_isTruncated; }
81 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
82 inline ListHealthChecksResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
84
86
92 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
93 inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
94 inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
95 inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
96 inline ListHealthChecksResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
97 inline ListHealthChecksResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
98 inline ListHealthChecksResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
100
102
106 inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
107 inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
108 inline void SetMaxItems(Aws::String&& value) { m_maxItems = std::move(value); }
109 inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
110 inline ListHealthChecksResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
111 inline ListHealthChecksResult& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
112 inline ListHealthChecksResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
119 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
120 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 inline ListHealthChecksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
122 inline ListHealthChecksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
123 inline ListHealthChecksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
125 private:
126
127 Aws::Vector<HealthCheck> m_healthChecks;
128
129 Aws::String m_marker;
130
131 bool m_isTruncated;
132
133 Aws::String m_nextMarker;
134
135 Aws::String m_maxItems;
136
137 Aws::String m_requestId;
138 };
139
140} // namespace Model
141} // namespace Route53
142} // namespace Aws
ListHealthChecksResult & WithNextMarker(const char *value)
AWS_ROUTE53_API ListHealthChecksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListHealthChecksResult & WithRequestId(const char *value)
ListHealthChecksResult & WithHealthChecks(Aws::Vector< HealthCheck > &&value)
ListHealthChecksResult & WithMaxItems(const Aws::String &value)
ListHealthChecksResult & AddHealthChecks(const HealthCheck &value)
ListHealthChecksResult & WithRequestId(const Aws::String &value)
ListHealthChecksResult & WithMaxItems(const char *value)
const Aws::Vector< HealthCheck > & GetHealthChecks() const
ListHealthChecksResult & WithHealthChecks(const Aws::Vector< HealthCheck > &value)
ListHealthChecksResult & WithIsTruncated(bool value)
ListHealthChecksResult & AddHealthChecks(HealthCheck &&value)
ListHealthChecksResult & WithMarker(const char *value)
ListHealthChecksResult & WithMarker(Aws::String &&value)
ListHealthChecksResult & WithMaxItems(Aws::String &&value)
ListHealthChecksResult & WithNextMarker(Aws::String &&value)
void SetHealthChecks(const Aws::Vector< HealthCheck > &value)
void SetHealthChecks(Aws::Vector< HealthCheck > &&value)
ListHealthChecksResult & WithNextMarker(const Aws::String &value)
ListHealthChecksResult & WithRequestId(Aws::String &&value)
AWS_ROUTE53_API ListHealthChecksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListHealthChecksResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument