AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PutAttributesResult.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
39 inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
40
44 inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributes = value; }
45
49 inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributes = std::move(value); }
50
54 inline PutAttributesResult& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
55
59 inline PutAttributesResult& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
60
64 inline PutAttributesResult& AddAttributes(const Attribute& value) { m_attributes.push_back(value); return *this; }
65
69 inline PutAttributesResult& AddAttributes(Attribute&& value) { m_attributes.push_back(std::move(value)); return *this; }
70
71 private:
72
73 Aws::Vector<Attribute> m_attributes;
74 };
75
76} // namespace Model
77} // namespace ECS
78} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
void SetAttributes(const Aws::Vector< Attribute > &value)
AWS_ECS_API PutAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECS_API PutAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutAttributesResult & WithAttributes(const Aws::Vector< Attribute > &value)
const Aws::Vector< Attribute > & GetAttributes() const
void SetAttributes(Aws::Vector< Attribute > &&value)
PutAttributesResult & AddAttributes(const Attribute &value)
PutAttributesResult & WithAttributes(Aws::Vector< Attribute > &&value)
PutAttributesResult & AddAttributes(Attribute &&value)
std::vector< T, Aws::Allocator< T > > Vector