AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChannelActivity.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTAnalytics
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTANALYTICS_API ChannelActivity();
36 AWS_IOTANALYTICS_API ChannelActivity(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTANALYTICS_API ChannelActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline ChannelActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline ChannelActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline ChannelActivity& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetChannelName() const{ return m_channelName; }
60 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
61 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
62 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
63 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
64 inline ChannelActivity& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
65 inline ChannelActivity& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
66 inline ChannelActivity& WithChannelName(const char* value) { SetChannelName(value); return *this;}
68
70
73 inline const Aws::String& GetNext() const{ return m_next; }
74 inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
75 inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
76 inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
77 inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
78 inline ChannelActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
79 inline ChannelActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
80 inline ChannelActivity& WithNext(const char* value) { SetNext(value); return *this;}
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 Aws::String m_channelName;
88 bool m_channelNameHasBeenSet = false;
89
90 Aws::String m_next;
91 bool m_nextHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTAnalytics
96} // namespace Aws
ChannelActivity & WithName(const char *value)
ChannelActivity & WithChannelName(const char *value)
ChannelActivity & WithNext(const Aws::String &value)
ChannelActivity & WithChannelName(const Aws::String &value)
const Aws::String & GetChannelName() const
void SetNext(const Aws::String &value)
ChannelActivity & WithChannelName(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_IOTANALYTICS_API ChannelActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelActivity & WithName(Aws::String &&value)
ChannelActivity & WithNext(const char *value)
ChannelActivity & WithName(const Aws::String &value)
ChannelActivity & WithNext(Aws::String &&value)
void SetChannelName(const Aws::String &value)
AWS_IOTANALYTICS_API ChannelActivity(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue