AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeResourceCollectionHealthResult.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-guru/model/CloudFormationHealth.h>
11#include <aws/devops-guru/model/ServiceHealth.h>
12#include <aws/devops-guru/model/TagHealth.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DevOpsGuru
28{
29namespace Model
30{
32 {
33 public:
37
38
40
45 inline const Aws::Vector<CloudFormationHealth>& GetCloudFormation() const{ return m_cloudFormation; }
46 inline void SetCloudFormation(const Aws::Vector<CloudFormationHealth>& value) { m_cloudFormation = value; }
47 inline void SetCloudFormation(Aws::Vector<CloudFormationHealth>&& value) { m_cloudFormation = std::move(value); }
50 inline DescribeResourceCollectionHealthResult& AddCloudFormation(const CloudFormationHealth& value) { m_cloudFormation.push_back(value); return *this; }
51 inline DescribeResourceCollectionHealthResult& AddCloudFormation(CloudFormationHealth&& value) { m_cloudFormation.push_back(std::move(value)); return *this; }
53
55
60 inline const Aws::Vector<ServiceHealth>& GetService() const{ return m_service; }
61 inline void SetService(const Aws::Vector<ServiceHealth>& value) { m_service = value; }
62 inline void SetService(Aws::Vector<ServiceHealth>&& value) { m_service = std::move(value); }
65 inline DescribeResourceCollectionHealthResult& AddService(const ServiceHealth& value) { m_service.push_back(value); return *this; }
66 inline DescribeResourceCollectionHealthResult& AddService(ServiceHealth&& value) { m_service.push_back(std::move(value)); return *this; }
68
70
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
76 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
77 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
79 inline DescribeResourceCollectionHealthResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 inline DescribeResourceCollectionHealthResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
82
84
114 inline const Aws::Vector<TagHealth>& GetTags() const{ return m_tags; }
115 inline void SetTags(const Aws::Vector<TagHealth>& value) { m_tags = value; }
116 inline void SetTags(Aws::Vector<TagHealth>&& value) { m_tags = std::move(value); }
118 inline DescribeResourceCollectionHealthResult& WithTags(Aws::Vector<TagHealth>&& value) { SetTags(std::move(value)); return *this;}
119 inline DescribeResourceCollectionHealthResult& AddTags(const TagHealth& value) { m_tags.push_back(value); return *this; }
120 inline DescribeResourceCollectionHealthResult& AddTags(TagHealth&& value) { m_tags.push_back(std::move(value)); return *this; }
122
124
125 inline const Aws::String& GetRequestId() const{ return m_requestId; }
126 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
127 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
128 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
130 inline DescribeResourceCollectionHealthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
131 inline DescribeResourceCollectionHealthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
133 private:
134
135 Aws::Vector<CloudFormationHealth> m_cloudFormation;
136
138
139 Aws::String m_nextToken;
140
142
143 Aws::String m_requestId;
144 };
145
146} // namespace Model
147} // namespace DevOpsGuru
148} // namespace Aws
DescribeResourceCollectionHealthResult & AddTags(const TagHealth &value)
DescribeResourceCollectionHealthResult & WithService(Aws::Vector< ServiceHealth > &&value)
DescribeResourceCollectionHealthResult & WithRequestId(Aws::String &&value)
DescribeResourceCollectionHealthResult & WithRequestId(const char *value)
DescribeResourceCollectionHealthResult & WithCloudFormation(Aws::Vector< CloudFormationHealth > &&value)
DescribeResourceCollectionHealthResult & WithNextToken(Aws::String &&value)
DescribeResourceCollectionHealthResult & WithNextToken(const char *value)
AWS_DEVOPSGURU_API DescribeResourceCollectionHealthResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourceCollectionHealthResult & WithNextToken(const Aws::String &value)
DescribeResourceCollectionHealthResult & WithTags(Aws::Vector< TagHealth > &&value)
void SetCloudFormation(const Aws::Vector< CloudFormationHealth > &value)
DescribeResourceCollectionHealthResult & WithService(const Aws::Vector< ServiceHealth > &value)
DescribeResourceCollectionHealthResult & AddCloudFormation(CloudFormationHealth &&value)
DescribeResourceCollectionHealthResult & WithTags(const Aws::Vector< TagHealth > &value)
DescribeResourceCollectionHealthResult & AddCloudFormation(const CloudFormationHealth &value)
DescribeResourceCollectionHealthResult & WithCloudFormation(const Aws::Vector< CloudFormationHealth > &value)
AWS_DEVOPSGURU_API DescribeResourceCollectionHealthResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourceCollectionHealthResult & AddTags(TagHealth &&value)
DescribeResourceCollectionHealthResult & AddService(const ServiceHealth &value)
DescribeResourceCollectionHealthResult & AddService(ServiceHealth &&value)
DescribeResourceCollectionHealthResult & WithRequestId(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::Json::JsonValue JsonValue