AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RemoveAttributesActivity.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTAnalytics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTANALYTICS_API RemoveAttributesActivity() = default;
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 RemoveAttributesActivity& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetAttributes() const { return m_attributes; }
59 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
60 template<typename AttributesT = Aws::Vector<Aws::String>>
61 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
62 template<typename AttributesT = Aws::Vector<Aws::String>>
63 RemoveAttributesActivity& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
64 template<typename AttributesT = Aws::String>
65 RemoveAttributesActivity& AddAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes.emplace_back(std::forward<AttributesT>(value)); return *this; }
67
69
72 inline const Aws::String& GetNext() const { return m_next; }
73 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
74 template<typename NextT = Aws::String>
75 void SetNext(NextT&& value) { m_nextHasBeenSet = true; m_next = std::forward<NextT>(value); }
76 template<typename NextT = Aws::String>
77 RemoveAttributesActivity& WithNext(NextT&& value) { SetNext(std::forward<NextT>(value)); return *this;}
79 private:
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_attributes;
85 bool m_attributesHasBeenSet = false;
86
87 Aws::String m_next;
88 bool m_nextHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoTAnalytics
93} // namespace Aws
RemoveAttributesActivity & WithAttributes(AttributesT &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
RemoveAttributesActivity & WithNext(NextT &&value)
const Aws::Vector< Aws::String > & GetAttributes() const
AWS_IOTANALYTICS_API RemoveAttributesActivity(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API RemoveAttributesActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
RemoveAttributesActivity & AddAttributes(AttributesT &&value)
AWS_IOTANALYTICS_API RemoveAttributesActivity()=default
RemoveAttributesActivity & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue