AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEcsClustersRequest.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpsWorks
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPSWORKS_API DescribeEcsClustersRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeEcsClusters"; }
32
33 AWS_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::Vector<Aws::String>& GetEcsClusterArns() const{ return m_ecsClusterArns; }
43 inline bool EcsClusterArnsHasBeenSet() const { return m_ecsClusterArnsHasBeenSet; }
44 inline void SetEcsClusterArns(const Aws::Vector<Aws::String>& value) { m_ecsClusterArnsHasBeenSet = true; m_ecsClusterArns = value; }
45 inline void SetEcsClusterArns(Aws::Vector<Aws::String>&& value) { m_ecsClusterArnsHasBeenSet = true; m_ecsClusterArns = std::move(value); }
48 inline DescribeEcsClustersRequest& AddEcsClusterArns(const Aws::String& value) { m_ecsClusterArnsHasBeenSet = true; m_ecsClusterArns.push_back(value); return *this; }
49 inline DescribeEcsClustersRequest& AddEcsClusterArns(Aws::String&& value) { m_ecsClusterArnsHasBeenSet = true; m_ecsClusterArns.push_back(std::move(value)); return *this; }
50 inline DescribeEcsClustersRequest& AddEcsClusterArns(const char* value) { m_ecsClusterArnsHasBeenSet = true; m_ecsClusterArns.push_back(value); return *this; }
52
54
58 inline const Aws::String& GetStackId() const{ return m_stackId; }
59 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
60 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
61 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
62 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
63 inline DescribeEcsClustersRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
64 inline DescribeEcsClustersRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
65 inline DescribeEcsClustersRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
67
69
78 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
83 inline DescribeEcsClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 inline DescribeEcsClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline DescribeEcsClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87
89
96 inline int GetMaxResults() const{ return m_maxResults; }
97 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
98 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
99 inline DescribeEcsClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101 private:
102
103 Aws::Vector<Aws::String> m_ecsClusterArns;
104 bool m_ecsClusterArnsHasBeenSet = false;
105
106 Aws::String m_stackId;
107 bool m_stackIdHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults;
113 bool m_maxResultsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace OpsWorks
118} // namespace Aws
const Aws::Vector< Aws::String > & GetEcsClusterArns() const
void SetEcsClusterArns(Aws::Vector< Aws::String > &&value)
DescribeEcsClustersRequest & WithStackId(const Aws::String &value)
DescribeEcsClustersRequest & WithMaxResults(int value)
DescribeEcsClustersRequest & AddEcsClusterArns(Aws::String &&value)
DescribeEcsClustersRequest & WithNextToken(const char *value)
DescribeEcsClustersRequest & WithNextToken(const Aws::String &value)
void SetEcsClusterArns(const Aws::Vector< Aws::String > &value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeEcsClustersRequest & AddEcsClusterArns(const Aws::String &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeEcsClustersRequest & AddEcsClusterArns(const char *value)
DescribeEcsClustersRequest & WithStackId(Aws::String &&value)
DescribeEcsClustersRequest & WithStackId(const char *value)
DescribeEcsClustersRequest & WithEcsClusterArns(const Aws::Vector< Aws::String > &value)
DescribeEcsClustersRequest & WithEcsClusterArns(Aws::Vector< Aws::String > &&value)
DescribeEcsClustersRequest & WithNextToken(Aws::String &&value)
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