AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddAttributesActivity.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/AWSMap.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 AddAttributesActivity();
37 AWS_IOTANALYTICS_API AddAttributesActivity(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline AddAttributesActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline AddAttributesActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline AddAttributesActivity& WithName(const char* value) { SetName(value); return *this;}
55
57
63 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
64 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
65 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
66 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
68 inline AddAttributesActivity& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
69 inline AddAttributesActivity& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
70 inline AddAttributesActivity& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
71 inline AddAttributesActivity& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
72 inline AddAttributesActivity& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
73 inline AddAttributesActivity& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
74 inline AddAttributesActivity& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
75 inline AddAttributesActivity& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
77
79
82 inline const Aws::String& GetNext() const{ return m_next; }
83 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
84 inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
85 inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
86 inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
87 inline AddAttributesActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
88 inline AddAttributesActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
89 inline AddAttributesActivity& WithNext(const char* value) { SetNext(value); return *this;}
91 private:
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
97 bool m_attributesHasBeenSet = false;
98
99 Aws::String m_next;
100 bool m_nextHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace IoTAnalytics
105} // namespace Aws
AddAttributesActivity & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AddAttributesActivity & AddAttributes(Aws::String &&key, const char *value)
AddAttributesActivity & AddAttributes(Aws::String &&key, Aws::String &&value)
AWS_IOTANALYTICS_API AddAttributesActivity(Aws::Utils::Json::JsonView jsonValue)
AddAttributesActivity & WithName(const Aws::String &value)
AddAttributesActivity & WithNext(const Aws::String &value)
AddAttributesActivity & AddAttributes(Aws::String &&key, const Aws::String &value)
AWS_IOTANALYTICS_API AddAttributesActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
AddAttributesActivity & WithName(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AddAttributesActivity & AddAttributes(const Aws::String &key, const Aws::String &value)
AddAttributesActivity & AddAttributes(const char *key, const char *value)
AddAttributesActivity & WithNext(const char *value)
AddAttributesActivity & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AddAttributesActivity & WithName(Aws::String &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AddAttributesActivity & WithNext(Aws::String &&value)
AddAttributesActivity & AddAttributes(const Aws::String &key, Aws::String &&value)
AddAttributesActivity & AddAttributes(const char *key, Aws::String &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue