AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Channel.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_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 CloudTrail
22{
23namespace Model
24{
25
32 class Channel
33 {
34 public:
35 AWS_CLOUDTRAIL_API Channel();
36 AWS_CLOUDTRAIL_API Channel(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDTRAIL_API Channel& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
46 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
47 inline void SetChannelArn(const Aws::String& value) { m_channelArnHasBeenSet = true; m_channelArn = value; }
48 inline void SetChannelArn(Aws::String&& value) { m_channelArnHasBeenSet = true; m_channelArn = std::move(value); }
49 inline void SetChannelArn(const char* value) { m_channelArnHasBeenSet = true; m_channelArn.assign(value); }
50 inline Channel& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
51 inline Channel& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
52 inline Channel& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
54
56
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline Channel& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline Channel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline Channel& WithName(const char* value) { SetName(value); return *this;}
72 private:
73
74 Aws::String m_channelArn;
75 bool m_channelArnHasBeenSet = false;
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CloudTrail
83} // namespace Aws
void SetName(Aws::String &&value)
Definition Channel.h:66
Channel & WithChannelArn(const char *value)
Definition Channel.h:52
void SetChannelArn(const char *value)
Definition Channel.h:49
const Aws::String & GetName() const
Definition Channel.h:63
void SetName(const char *value)
Definition Channel.h:67
bool ChannelArnHasBeenSet() const
Definition Channel.h:46
const Aws::String & GetChannelArn() const
Definition Channel.h:45
Channel & WithChannelArn(Aws::String &&value)
Definition Channel.h:51
Channel & WithChannelArn(const Aws::String &value)
Definition Channel.h:50
AWS_CLOUDTRAIL_API Channel()
Channel & WithName(const char *value)
Definition Channel.h:70
AWS_CLOUDTRAIL_API Channel(Aws::Utils::Json::JsonView jsonValue)
Channel & WithName(Aws::String &&value)
Definition Channel.h:69
AWS_CLOUDTRAIL_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
Channel & WithName(const Aws::String &value)
Definition Channel.h:68
void SetName(const Aws::String &value)
Definition Channel.h:65
void SetChannelArn(const Aws::String &value)
Definition Channel.h:47
void SetChannelArn(Aws::String &&value)
Definition Channel.h:48
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue