AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelectAttributesActivity.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 SelectAttributesActivity();
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 SelectAttributesActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline SelectAttributesActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline SelectAttributesActivity& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetAttributes() const{ return m_attributes; }
61 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
62 inline void SetAttributes(const Aws::Vector<Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
63 inline void SetAttributes(Aws::Vector<Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
65 inline SelectAttributesActivity& WithAttributes(Aws::Vector<Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
66 inline SelectAttributesActivity& AddAttributes(const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
67 inline SelectAttributesActivity& AddAttributes(Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
68 inline SelectAttributesActivity& AddAttributes(const char* value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
70
72
75 inline const Aws::String& GetNext() const{ return m_next; }
76 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
77 inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
78 inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
79 inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
80 inline SelectAttributesActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
81 inline SelectAttributesActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
82 inline SelectAttributesActivity& WithNext(const char* value) { SetNext(value); return *this;}
84 private:
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_attributes;
90 bool m_attributesHasBeenSet = false;
91
92 Aws::String m_next;
93 bool m_nextHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace IoTAnalytics
98} // namespace Aws
const Aws::Vector< Aws::String > & GetAttributes() const
SelectAttributesActivity & WithName(const Aws::String &value)
SelectAttributesActivity & WithNext(const Aws::String &value)
SelectAttributesActivity & WithAttributes(Aws::Vector< Aws::String > &&value)
SelectAttributesActivity & WithNext(const char *value)
SelectAttributesActivity & WithNext(Aws::String &&value)
SelectAttributesActivity & WithName(Aws::String &&value)
SelectAttributesActivity & AddAttributes(const Aws::String &value)
void SetAttributes(const Aws::Vector< Aws::String > &value)
void SetAttributes(Aws::Vector< Aws::String > &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API SelectAttributesActivity(Aws::Utils::Json::JsonView jsonValue)
SelectAttributesActivity & WithAttributes(const Aws::Vector< Aws::String > &value)
AWS_IOTANALYTICS_API SelectAttributesActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
SelectAttributesActivity & AddAttributes(const char *value)
SelectAttributesActivity & WithName(const char *value)
SelectAttributesActivity & AddAttributes(Aws::String &&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