AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEcsClustersResult.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opsworks/model/EcsCluster.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace OpsWorks
26{
27namespace Model
28{
36 {
37 public:
38 AWS_OPSWORKS_API DescribeEcsClustersResult();
41
42
44
48 inline const Aws::Vector<EcsCluster>& GetEcsClusters() const{ return m_ecsClusters; }
49 inline void SetEcsClusters(const Aws::Vector<EcsCluster>& value) { m_ecsClusters = value; }
50 inline void SetEcsClusters(Aws::Vector<EcsCluster>&& value) { m_ecsClusters = std::move(value); }
52 inline DescribeEcsClustersResult& WithEcsClusters(Aws::Vector<EcsCluster>&& value) { SetEcsClusters(std::move(value)); return *this;}
53 inline DescribeEcsClustersResult& AddEcsClusters(const EcsCluster& value) { m_ecsClusters.push_back(value); return *this; }
54 inline DescribeEcsClustersResult& AddEcsClusters(EcsCluster&& value) { m_ecsClusters.push_back(std::move(value)); return *this; }
56
58
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
69 inline DescribeEcsClustersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline DescribeEcsClustersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline DescribeEcsClustersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline DescribeEcsClustersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DescribeEcsClustersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DescribeEcsClustersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::Vector<EcsCluster> m_ecsClusters;
87
88 Aws::String m_nextToken;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace OpsWorks
95} // namespace Aws
DescribeEcsClustersResult & WithEcsClusters(const Aws::Vector< EcsCluster > &value)
void SetEcsClusters(Aws::Vector< EcsCluster > &&value)
DescribeEcsClustersResult & WithNextToken(Aws::String &&value)
DescribeEcsClustersResult & WithNextToken(const Aws::String &value)
DescribeEcsClustersResult & AddEcsClusters(EcsCluster &&value)
void SetEcsClusters(const Aws::Vector< EcsCluster > &value)
DescribeEcsClustersResult & WithEcsClusters(Aws::Vector< EcsCluster > &&value)
DescribeEcsClustersResult & WithRequestId(Aws::String &&value)
DescribeEcsClustersResult & WithNextToken(const char *value)
AWS_OPSWORKS_API DescribeEcsClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< EcsCluster > & GetEcsClusters() const
DescribeEcsClustersResult & WithRequestId(const Aws::String &value)
DescribeEcsClustersResult & AddEcsClusters(const EcsCluster &value)
AWS_OPSWORKS_API DescribeEcsClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEcsClustersResult & WithRequestId(const char *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