AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteAttributesResult.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ECS
25{
26namespace Model
27{
29 {
30 public:
34
35
40 inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
41
46 inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributes = value; }
47
52 inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributes = std::move(value); }
53
58 inline DeleteAttributesResult& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
59
64 inline DeleteAttributesResult& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
65
70 inline DeleteAttributesResult& AddAttributes(const Attribute& value) { m_attributes.push_back(value); return *this; }
71
76 inline DeleteAttributesResult& AddAttributes(Attribute&& value) { m_attributes.push_back(std::move(value)); return *this; }
77
78 private:
79
80 Aws::Vector<Attribute> m_attributes;
81 };
82
83} // namespace Model
84} // namespace ECS
85} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AWS_ECS_API DeleteAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAttributesResult & WithAttributes(Aws::Vector< Attribute > &&value)
DeleteAttributesResult & AddAttributes(Attribute &&value)
AWS_ECS_API DeleteAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAttributes(Aws::Vector< Attribute > &&value)
const Aws::Vector< Attribute > & GetAttributes() const
DeleteAttributesResult & WithAttributes(const Aws::Vector< Attribute > &value)
DeleteAttributesResult & AddAttributes(const Attribute &value)
void SetAttributes(const Aws::Vector< Attribute > &value)
std::vector< T, Aws::Allocator< T > > Vector