AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteAttributesResult.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecs/model/Attribute.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECS
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ECS_API DeleteAttributesResult() = default;
35
36
38
42 inline const Aws::Vector<Attribute>& GetAttributes() const { return m_attributes; }
43 template<typename AttributesT = Aws::Vector<Attribute>>
44 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
45 template<typename AttributesT = Aws::Vector<Attribute>>
46 DeleteAttributesResult& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
47 template<typename AttributesT = Attribute>
48 DeleteAttributesResult& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template<typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
56 template<typename RequestIdT = Aws::String>
57 DeleteAttributesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
59 private:
60
61 Aws::Vector<Attribute> m_attributes;
62 bool m_attributesHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace ECS
70} // namespace Aws
DeleteAttributesResult & WithAttributes(AttributesT &&value)
AWS_ECS_API DeleteAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECS_API DeleteAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAttributesResult & AddAttributes(AttributesT &&value)
const Aws::Vector< Attribute > & GetAttributes() const
DeleteAttributesResult & WithRequestId(RequestIdT &&value)
AWS_ECS_API DeleteAttributesResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue