AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTaskDefinitionRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/TaskDefinitionField.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 "DescribeTaskDefinition"; }
33
34 AWS_ECS_API Aws::String SerializePayload() const override;
35
37
38
40
46 inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
47 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
48 inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
49 inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
50 inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
52 inline DescribeTaskDefinitionRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
53 inline DescribeTaskDefinitionRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
55
57
62 inline const Aws::Vector<TaskDefinitionField>& GetInclude() const{ return m_include; }
63 inline bool IncludeHasBeenSet() const { return m_includeHasBeenSet; }
64 inline void SetInclude(const Aws::Vector<TaskDefinitionField>& value) { m_includeHasBeenSet = true; m_include = value; }
65 inline void SetInclude(Aws::Vector<TaskDefinitionField>&& value) { m_includeHasBeenSet = true; m_include = std::move(value); }
67 inline DescribeTaskDefinitionRequest& WithInclude(Aws::Vector<TaskDefinitionField>&& value) { SetInclude(std::move(value)); return *this;}
68 inline DescribeTaskDefinitionRequest& AddInclude(const TaskDefinitionField& value) { m_includeHasBeenSet = true; m_include.push_back(value); return *this; }
69 inline DescribeTaskDefinitionRequest& AddInclude(TaskDefinitionField&& value) { m_includeHasBeenSet = true; m_include.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_taskDefinition;
74 bool m_taskDefinitionHasBeenSet = false;
75
77 bool m_includeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ECS
82} // namespace Aws
DescribeTaskDefinitionRequest & WithInclude(const Aws::Vector< TaskDefinitionField > &value)
void SetInclude(const Aws::Vector< TaskDefinitionField > &value)
DescribeTaskDefinitionRequest & WithInclude(Aws::Vector< TaskDefinitionField > &&value)
DescribeTaskDefinitionRequest & WithTaskDefinition(Aws::String &&value)
const Aws::Vector< TaskDefinitionField > & GetInclude() const
DescribeTaskDefinitionRequest & WithTaskDefinition(const char *value)
DescribeTaskDefinitionRequest & AddInclude(const TaskDefinitionField &value)
virtual const char * GetServiceRequestName() const override
DescribeTaskDefinitionRequest & AddInclude(TaskDefinitionField &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInclude(Aws::Vector< TaskDefinitionField > &&value)
AWS_ECS_API Aws::String SerializePayload() const override
DescribeTaskDefinitionRequest & WithTaskDefinition(const 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