AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAttributesRequest.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/Attribute.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ECS
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ECS_API DeleteAttributesRequest() = default;
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 "DeleteAttributes"; }
33
34 AWS_ECS_API Aws::String SerializePayload() const override;
35
37
38
40
45 inline const Aws::String& GetCluster() const { return m_cluster; }
46 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
47 template<typename ClusterT = Aws::String>
48 void SetCluster(ClusterT&& value) { m_clusterHasBeenSet = true; m_cluster = std::forward<ClusterT>(value); }
49 template<typename ClusterT = Aws::String>
50 DeleteAttributesRequest& WithCluster(ClusterT&& value) { SetCluster(std::forward<ClusterT>(value)); return *this;}
52
54
60 inline const Aws::Vector<Attribute>& GetAttributes() const { return m_attributes; }
61 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
62 template<typename AttributesT = Aws::Vector<Attribute>>
63 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
64 template<typename AttributesT = Aws::Vector<Attribute>>
65 DeleteAttributesRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
66 template<typename AttributesT = Attribute>
67 DeleteAttributesRequest& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
69 private:
70
71 Aws::String m_cluster;
72 bool m_clusterHasBeenSet = false;
73
74 Aws::Vector<Attribute> m_attributes;
75 bool m_attributesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ECS
80} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Attribute > & GetAttributes() const
DeleteAttributesRequest & WithCluster(ClusterT &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ECS_API Aws::String SerializePayload() const override
AWS_ECS_API DeleteAttributesRequest()=default
DeleteAttributesRequest & WithAttributes(AttributesT &&value)
DeleteAttributesRequest & AddAttributes(AttributesT &&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