AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInstancesHealthResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
12#include <aws/elasticbeanstalk/model/SingleInstanceHealth.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace ElasticBeanstalk
28{
29namespace Model
30{
38 {
39 public:
40 AWS_ELASTICBEANSTALK_API DescribeInstancesHealthResult();
43
44
46
52 inline const Aws::Vector<SingleInstanceHealth>& GetInstanceHealthList() const{ return m_instanceHealthList; }
53 inline void SetInstanceHealthList(const Aws::Vector<SingleInstanceHealth>& value) { m_instanceHealthList = value; }
54 inline void SetInstanceHealthList(Aws::Vector<SingleInstanceHealth>&& value) { m_instanceHealthList = std::move(value); }
57 inline DescribeInstancesHealthResult& AddInstanceHealthList(const SingleInstanceHealth& value) { m_instanceHealthList.push_back(value); return *this; }
58 inline DescribeInstancesHealthResult& AddInstanceHealthList(SingleInstanceHealth&& value) { m_instanceHealthList.push_back(std::move(value)); return *this; }
60
62
65 inline const Aws::Utils::DateTime& GetRefreshedAt() const{ return m_refreshedAt; }
66 inline void SetRefreshedAt(const Aws::Utils::DateTime& value) { m_refreshedAt = value; }
67 inline void SetRefreshedAt(Aws::Utils::DateTime&& value) { m_refreshedAt = std::move(value); }
69 inline DescribeInstancesHealthResult& WithRefreshedAt(Aws::Utils::DateTime&& value) { SetRefreshedAt(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
80 inline DescribeInstancesHealthResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline DescribeInstancesHealthResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline DescribeInstancesHealthResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84
86
87 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
88 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
89 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
93 private:
94
95 Aws::Vector<SingleInstanceHealth> m_instanceHealthList;
96
97 Aws::Utils::DateTime m_refreshedAt;
98
99 Aws::String m_nextToken;
100
101 ResponseMetadata m_responseMetadata;
102 };
103
104} // namespace Model
105} // namespace ElasticBeanstalk
106} // namespace Aws
DescribeInstancesHealthResult & WithInstanceHealthList(Aws::Vector< SingleInstanceHealth > &&value)
DescribeInstancesHealthResult & WithNextToken(const Aws::String &value)
DescribeInstancesHealthResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeInstancesHealthResult & AddInstanceHealthList(SingleInstanceHealth &&value)
DescribeInstancesHealthResult & WithRefreshedAt(Aws::Utils::DateTime &&value)
DescribeInstancesHealthResult & WithNextToken(Aws::String &&value)
DescribeInstancesHealthResult & WithRefreshedAt(const Aws::Utils::DateTime &value)
DescribeInstancesHealthResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_ELASTICBEANSTALK_API DescribeInstancesHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< SingleInstanceHealth > & GetInstanceHealthList() const
DescribeInstancesHealthResult & WithInstanceHealthList(const Aws::Vector< SingleInstanceHealth > &value)
DescribeInstancesHealthResult & AddInstanceHealthList(const SingleInstanceHealth &value)
AWS_ELASTICBEANSTALK_API DescribeInstancesHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetInstanceHealthList(const Aws::Vector< SingleInstanceHealth > &value)
DescribeInstancesHealthResult & WithNextToken(const char *value)
void SetInstanceHealthList(Aws::Vector< SingleInstanceHealth > &&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