AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeClustersRequest.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ecs/model/ClusterField.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ECS
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusters"; }
33
34 AWS_ECS_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::Vector<Aws::String>& GetClusters() const{ return m_clusters; }
45 inline bool ClustersHasBeenSet() const { return m_clustersHasBeenSet; }
46 inline void SetClusters(const Aws::Vector<Aws::String>& value) { m_clustersHasBeenSet = true; m_clusters = value; }
47 inline void SetClusters(Aws::Vector<Aws::String>&& value) { m_clustersHasBeenSet = true; m_clusters = std::move(value); }
48 inline DescribeClustersRequest& WithClusters(const Aws::Vector<Aws::String>& value) { SetClusters(value); return *this;}
49 inline DescribeClustersRequest& WithClusters(Aws::Vector<Aws::String>&& value) { SetClusters(std::move(value)); return *this;}
50 inline DescribeClustersRequest& AddClusters(const Aws::String& value) { m_clustersHasBeenSet = true; m_clusters.push_back(value); return *this; }
51 inline DescribeClustersRequest& AddClusters(Aws::String&& value) { m_clustersHasBeenSet = true; m_clusters.push_back(std::move(value)); return *this; }
52 inline DescribeClustersRequest& AddClusters(const char* value) { m_clustersHasBeenSet = true; m_clusters.push_back(value); return *this; }
54
56
68 inline const Aws::Vector<ClusterField>& GetInclude() const{ return m_include; }
69 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
70 inline void SetInclude(const Aws::Vector<ClusterField>& value) { m_includeHasBeenSet = true; m_include = value; }
71 inline void SetInclude(Aws::Vector<ClusterField>&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
72 inline DescribeClustersRequest& WithInclude(const Aws::Vector<ClusterField>& value) { SetInclude(value); return *this;}
73 inline DescribeClustersRequest& WithInclude(Aws::Vector<ClusterField>&& value) { SetInclude(std::move(value)); return *this;}
74 inline DescribeClustersRequest& AddInclude(const ClusterField& value) { m_includeHasBeenSet = true; m_include.push_back(value); return *this; }
75 inline DescribeClustersRequest& AddInclude(ClusterField&& value) { m_includeHasBeenSet = true; m_include.push_back(std::move(value)); return *this; }
77 private:
78
79 Aws::Vector<Aws::String> m_clusters;
80 bool m_clustersHasBeenSet = false;
81
83 bool m_includeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ECS
88} // namespace Aws
void SetInclude(const Aws::Vector< ClusterField > &value)
void SetClusters(const Aws::Vector< Aws::String > &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeClustersRequest & AddClusters(const Aws::String &value)
DescribeClustersRequest & AddInclude(ClusterField &&value)
void SetClusters(Aws::Vector< Aws::String > &&value)
DescribeClustersRequest & WithClusters(Aws::Vector< Aws::String > &&value)
DescribeClustersRequest & AddInclude(const ClusterField &value)
void SetInclude(Aws::Vector< ClusterField > &&value)
DescribeClustersRequest & AddClusters(const char *value)
DescribeClustersRequest & WithClusters(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetClusters() const
DescribeClustersRequest & AddClusters(Aws::String &&value)
DescribeClustersRequest & WithInclude(const Aws::Vector< ClusterField > &value)
const Aws::Vector< ClusterField > & GetInclude() const
AWS_ECS_API Aws::String SerializePayload() const override
DescribeClustersRequest & WithInclude(Aws::Vector< ClusterField > &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector