AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MulticastGroup.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_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 IoTWireless
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTWIRELESS_API MulticastGroup();
35 AWS_IOTWIRELESS_API MulticastGroup(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTWIRELESS_API MulticastGroup& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetId() const{ return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
45 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
46 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
47 inline MulticastGroup& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline MulticastGroup& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline MulticastGroup& WithId(const char* value) { SetId(value); return *this;}
51
53
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline MulticastGroup& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline MulticastGroup& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline MulticastGroup& WithArn(const char* value) { SetArn(value); return *this;}
63
65
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
69 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
70 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 inline MulticastGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline MulticastGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline MulticastGroup& WithName(const char* value) { SetName(value); return *this;}
75 private:
76
77 Aws::String m_id;
78 bool m_idHasBeenSet = false;
79
80 Aws::String m_arn;
81 bool m_arnHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTWireless
89} // namespace Aws
MulticastGroup & WithArn(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_IOTWIRELESS_API MulticastGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
MulticastGroup & WithName(const Aws::String &value)
MulticastGroup & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
MulticastGroup & WithName(Aws::String &&value)
const Aws::String & GetArn() const
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
MulticastGroup & WithArn(const Aws::String &value)
const Aws::String & GetName() const
MulticastGroup & WithId(Aws::String &&value)
MulticastGroup & WithArn(const char *value)
void SetArn(const Aws::String &value)
AWS_IOTWIRELESS_API MulticastGroup(Aws::Utils::Json::JsonView jsonValue)
MulticastGroup & WithName(const char *value)
MulticastGroup & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue