AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
48 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
49 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
50 inline DeleteAttributesRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
51 inline DeleteAttributesRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
52 inline DeleteAttributesRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
54
56
62 inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
63 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
64 inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
65 inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
66 inline DeleteAttributesRequest& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
67 inline DeleteAttributesRequest& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
68 inline DeleteAttributesRequest& AddAttributes(const Attribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
69 inline DeleteAttributesRequest& AddAttributes(Attribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_cluster;
74 bool m_clusterHasBeenSet = false;
75
76 Aws::Vector<Attribute> m_attributes;
77 bool m_attributesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ECS
82} // namespace Aws
DeleteAttributesRequest & AddAttributes(Attribute &&value)
DeleteAttributesRequest & WithCluster(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteAttributesRequest & WithAttributes(const Aws::Vector< Attribute > &value)
const Aws::Vector< Attribute > & GetAttributes() const
DeleteAttributesRequest & AddAttributes(const Attribute &value)
DeleteAttributesRequest & WithAttributes(Aws::Vector< Attribute > &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAttributesRequest & WithCluster(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() const override
DeleteAttributesRequest & WithCluster(Aws::String &&value)
void SetAttributes(Aws::Vector< Attribute > &&value)
void SetAttributes(const Aws::Vector< Attribute > &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