AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteTaskDefinitionsRequest.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 <utility>
12
13namespace Aws
14{
15namespace ECS
16{
17namespace Model
18{
19
23 {
24 public:
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 "DeleteTaskDefinitions"; }
32
33 AWS_ECS_API Aws::String SerializePayload() const override;
34
36
37
39
45 inline const Aws::Vector<Aws::String>& GetTaskDefinitions() const{ return m_taskDefinitions; }
46 inline bool TaskDefinitionsHasBeenSet() const { return m_taskDefinitionsHasBeenSet; }
47 inline void SetTaskDefinitions(const Aws::Vector<Aws::String>& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions = value; }
48 inline void SetTaskDefinitions(Aws::Vector<Aws::String>&& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions = std::move(value); }
51 inline DeleteTaskDefinitionsRequest& AddTaskDefinitions(const Aws::String& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions.push_back(value); return *this; }
52 inline DeleteTaskDefinitionsRequest& AddTaskDefinitions(Aws::String&& value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions.push_back(std::move(value)); return *this; }
53 inline DeleteTaskDefinitionsRequest& AddTaskDefinitions(const char* value) { m_taskDefinitionsHasBeenSet = true; m_taskDefinitions.push_back(value); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_taskDefinitions;
58 bool m_taskDefinitionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ECS
63} // namespace Aws
void SetTaskDefinitions(Aws::Vector< Aws::String > &&value)
AWS_ECS_API Aws::String SerializePayload() const override
DeleteTaskDefinitionsRequest & AddTaskDefinitions(Aws::String &&value)
DeleteTaskDefinitionsRequest & WithTaskDefinitions(const Aws::Vector< Aws::String > &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTaskDefinitions(const Aws::Vector< Aws::String > &value)
DeleteTaskDefinitionsRequest & AddTaskDefinitions(const char *value)
DeleteTaskDefinitionsRequest & WithTaskDefinitions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetTaskDefinitions() const
virtual const char * GetServiceRequestName() const override
DeleteTaskDefinitionsRequest & AddTaskDefinitions(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