AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VoiceConnectorGroup.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/chime/model/VoiceConnectorItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Chime
25{
26namespace Model
27{
28
39 {
40 public:
41 AWS_CHIME_API VoiceConnectorGroup();
44 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetVoiceConnectorGroupId() const{ return m_voiceConnectorGroupId; }
52 inline bool VoiceConnectorGroupIdHasBeenSet() const { return m_voiceConnectorGroupIdHasBeenSet; }
53 inline void SetVoiceConnectorGroupId(const Aws::String& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = value; }
54 inline void SetVoiceConnectorGroupId(Aws::String&& value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId = std::move(value); }
55 inline void SetVoiceConnectorGroupId(const char* value) { m_voiceConnectorGroupIdHasBeenSet = true; m_voiceConnectorGroupId.assign(value); }
57 inline VoiceConnectorGroup& WithVoiceConnectorGroupId(Aws::String&& value) { SetVoiceConnectorGroupId(std::move(value)); return *this;}
58 inline VoiceConnectorGroup& WithVoiceConnectorGroupId(const char* value) { SetVoiceConnectorGroupId(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline VoiceConnectorGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline VoiceConnectorGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline VoiceConnectorGroup& WithName(const char* value) { SetName(value); return *this;}
74
76
79 inline const Aws::Vector<VoiceConnectorItem>& GetVoiceConnectorItems() const{ return m_voiceConnectorItems; }
80 inline bool VoiceConnectorItemsHasBeenSet() const { return m_voiceConnectorItemsHasBeenSet; }
81 inline void SetVoiceConnectorItems(const Aws::Vector<VoiceConnectorItem>& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems = value; }
82 inline void SetVoiceConnectorItems(Aws::Vector<VoiceConnectorItem>&& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems = std::move(value); }
85 inline VoiceConnectorGroup& AddVoiceConnectorItems(const VoiceConnectorItem& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems.push_back(value); return *this; }
86 inline VoiceConnectorGroup& AddVoiceConnectorItems(VoiceConnectorItem&& value) { m_voiceConnectorItemsHasBeenSet = true; m_voiceConnectorItems.push_back(std::move(value)); return *this; }
88
90
94 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
95 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
96 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
97 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
99 inline VoiceConnectorGroup& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
108 inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
109 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; }
110 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); }
112 inline VoiceConnectorGroup& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
114
116
119 inline const Aws::String& GetVoiceConnectorGroupArn() const{ return m_voiceConnectorGroupArn; }
120 inline bool VoiceConnectorGroupArnHasBeenSet() const { return m_voiceConnectorGroupArnHasBeenSet; }
121 inline void SetVoiceConnectorGroupArn(const Aws::String& value) { m_voiceConnectorGroupArnHasBeenSet = true; m_voiceConnectorGroupArn = value; }
122 inline void SetVoiceConnectorGroupArn(Aws::String&& value) { m_voiceConnectorGroupArnHasBeenSet = true; m_voiceConnectorGroupArn = std::move(value); }
123 inline void SetVoiceConnectorGroupArn(const char* value) { m_voiceConnectorGroupArnHasBeenSet = true; m_voiceConnectorGroupArn.assign(value); }
125 inline VoiceConnectorGroup& WithVoiceConnectorGroupArn(Aws::String&& value) { SetVoiceConnectorGroupArn(std::move(value)); return *this;}
126 inline VoiceConnectorGroup& WithVoiceConnectorGroupArn(const char* value) { SetVoiceConnectorGroupArn(value); return *this;}
128 private:
129
130 Aws::String m_voiceConnectorGroupId;
131 bool m_voiceConnectorGroupIdHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 Aws::Vector<VoiceConnectorItem> m_voiceConnectorItems;
137 bool m_voiceConnectorItemsHasBeenSet = false;
138
139 Aws::Utils::DateTime m_createdTimestamp;
140 bool m_createdTimestampHasBeenSet = false;
141
142 Aws::Utils::DateTime m_updatedTimestamp;
143 bool m_updatedTimestampHasBeenSet = false;
144
145 Aws::String m_voiceConnectorGroupArn;
146 bool m_voiceConnectorGroupArnHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Chime
151} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
void SetVoiceConnectorItems(Aws::Vector< VoiceConnectorItem > &&value)
VoiceConnectorGroup & WithVoiceConnectorGroupArn(const char *value)
VoiceConnectorGroup & AddVoiceConnectorItems(VoiceConnectorItem &&value)
void SetVoiceConnectorGroupArn(Aws::String &&value)
VoiceConnectorGroup & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
AWS_CHIME_API VoiceConnectorGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::Vector< VoiceConnectorItem > & GetVoiceConnectorItems() const
void SetVoiceConnectorGroupArn(const Aws::String &value)
const Aws::String & GetVoiceConnectorGroupArn() const
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API VoiceConnectorGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
VoiceConnectorGroup & AddVoiceConnectorItems(const VoiceConnectorItem &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
VoiceConnectorGroup & WithVoiceConnectorGroupArn(Aws::String &&value)
void SetVoiceConnectorGroupId(const char *value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVoiceConnectorGroupArn(const char *value)
VoiceConnectorGroup & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
VoiceConnectorGroup & WithVoiceConnectorGroupId(const char *value)
void SetVoiceConnectorGroupId(Aws::String &&value)
void SetName(const Aws::String &value)
void SetVoiceConnectorItems(const Aws::Vector< VoiceConnectorItem > &value)
VoiceConnectorGroup & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetVoiceConnectorGroupId(const Aws::String &value)
VoiceConnectorGroup & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
VoiceConnectorGroup & WithVoiceConnectorItems(const Aws::Vector< VoiceConnectorItem > &value)
VoiceConnectorGroup & WithName(const Aws::String &value)
VoiceConnectorGroup & WithVoiceConnectorItems(Aws::Vector< VoiceConnectorItem > &&value)
const Aws::String & GetVoiceConnectorGroupId() const
VoiceConnectorGroup & WithVoiceConnectorGroupArn(const Aws::String &value)
VoiceConnectorGroup & WithName(Aws::String &&value)
VoiceConnectorGroup & WithVoiceConnectorGroupId(const Aws::String &value)
VoiceConnectorGroup & WithName(const char *value)
VoiceConnectorGroup & WithVoiceConnectorGroupId(Aws::String &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &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