AWS SDK for C++  1.9.155
AWS SDK for C++
DeleteAttributesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ECS
25 {
26 namespace 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
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::DeleteAttributesResult
Definition: DeleteAttributesResult.h:29
Aws::ECS::Model::DeleteAttributesResult::operator=
DeleteAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::DeleteAttributesResult::DeleteAttributesResult
DeleteAttributesResult()
Aws::ECS::Model::DeleteAttributesResult::DeleteAttributesResult
DeleteAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::DeleteAttributesResult::WithAttributes
DeleteAttributesResult & WithAttributes(const Aws::Vector< Attribute > &value)
Definition: DeleteAttributesResult.h:58
Attribute.h
Aws::ECS::Model::DeleteAttributesResult::AddAttributes
DeleteAttributesResult & AddAttributes(const Attribute &value)
Definition: DeleteAttributesResult.h:70
Aws::ECS::Model::DeleteAttributesResult::SetAttributes
void SetAttributes(Aws::Vector< Attribute > &&value)
Definition: DeleteAttributesResult.h:52
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::DeleteAttributesResult::SetAttributes
void SetAttributes(const Aws::Vector< Attribute > &value)
Definition: DeleteAttributesResult.h:46
Aws::ECS::Model::DeleteAttributesResult::GetAttributes
const Aws::Vector< Attribute > & GetAttributes() const
Definition: DeleteAttributesResult.h:40
Aws::ECS::Model::Attribute
Definition: Attribute.h:38
Aws::ECS::Model::DeleteAttributesResult::AddAttributes
DeleteAttributesResult & AddAttributes(Attribute &&value)
Definition: DeleteAttributesResult.h:76
ECS_EXPORTS.h
Aws::ECS::Model::DeleteAttributesResult::WithAttributes
DeleteAttributesResult & WithAttributes(Aws::Vector< Attribute > &&value)
Definition: DeleteAttributesResult.h:64