AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VoiceConnector.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/VoiceConnectorAwsRegion.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Chime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CHIME_API VoiceConnector();
40 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
48 inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
49 inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
50 inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
51 inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
52 inline VoiceConnector& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
53 inline VoiceConnector& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
54 inline VoiceConnector& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
56
58
62 inline const VoiceConnectorAwsRegion& GetAwsRegion() const{ return m_awsRegion; }
63 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
64 inline void SetAwsRegion(const VoiceConnectorAwsRegion& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
65 inline void SetAwsRegion(VoiceConnectorAwsRegion&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
66 inline VoiceConnector& WithAwsRegion(const VoiceConnectorAwsRegion& value) { SetAwsRegion(value); return *this;}
67 inline VoiceConnector& WithAwsRegion(VoiceConnectorAwsRegion&& value) { SetAwsRegion(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline VoiceConnector& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline VoiceConnector& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline VoiceConnector& WithName(const char* value) { SetName(value); return *this;}
83
85
88 inline const Aws::String& GetOutboundHostName() const{ return m_outboundHostName; }
89 inline bool OutboundHostNameHasBeenSet() const { return m_outboundHostNameHasBeenSet; }
90 inline void SetOutboundHostName(const Aws::String& value) { m_outboundHostNameHasBeenSet = true; m_outboundHostName = value; }
91 inline void SetOutboundHostName(Aws::String&& value) { m_outboundHostNameHasBeenSet = true; m_outboundHostName = std::move(value); }
92 inline void SetOutboundHostName(const char* value) { m_outboundHostNameHasBeenSet = true; m_outboundHostName.assign(value); }
93 inline VoiceConnector& WithOutboundHostName(const Aws::String& value) { SetOutboundHostName(value); return *this;}
94 inline VoiceConnector& WithOutboundHostName(Aws::String&& value) { SetOutboundHostName(std::move(value)); return *this;}
95 inline VoiceConnector& WithOutboundHostName(const char* value) { SetOutboundHostName(value); return *this;}
97
99
103 inline bool GetRequireEncryption() const{ return m_requireEncryption; }
104 inline bool RequireEncryptionHasBeenSet() const { return m_requireEncryptionHasBeenSet; }
105 inline void SetRequireEncryption(bool value) { m_requireEncryptionHasBeenSet = true; m_requireEncryption = value; }
106 inline VoiceConnector& WithRequireEncryption(bool value) { SetRequireEncryption(value); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
114 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
115 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
116 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
118 inline VoiceConnector& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
126 inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
127 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; }
128 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); }
130 inline VoiceConnector& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
132
134
137 inline const Aws::String& GetVoiceConnectorArn() const{ return m_voiceConnectorArn; }
138 inline bool VoiceConnectorArnHasBeenSet() const { return m_voiceConnectorArnHasBeenSet; }
139 inline void SetVoiceConnectorArn(const Aws::String& value) { m_voiceConnectorArnHasBeenSet = true; m_voiceConnectorArn = value; }
140 inline void SetVoiceConnectorArn(Aws::String&& value) { m_voiceConnectorArnHasBeenSet = true; m_voiceConnectorArn = std::move(value); }
141 inline void SetVoiceConnectorArn(const char* value) { m_voiceConnectorArnHasBeenSet = true; m_voiceConnectorArn.assign(value); }
142 inline VoiceConnector& WithVoiceConnectorArn(const Aws::String& value) { SetVoiceConnectorArn(value); return *this;}
143 inline VoiceConnector& WithVoiceConnectorArn(Aws::String&& value) { SetVoiceConnectorArn(std::move(value)); return *this;}
144 inline VoiceConnector& WithVoiceConnectorArn(const char* value) { SetVoiceConnectorArn(value); return *this;}
146 private:
147
148 Aws::String m_voiceConnectorId;
149 bool m_voiceConnectorIdHasBeenSet = false;
150
151 VoiceConnectorAwsRegion m_awsRegion;
152 bool m_awsRegionHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_outboundHostName;
158 bool m_outboundHostNameHasBeenSet = false;
159
160 bool m_requireEncryption;
161 bool m_requireEncryptionHasBeenSet = false;
162
163 Aws::Utils::DateTime m_createdTimestamp;
164 bool m_createdTimestampHasBeenSet = false;
165
166 Aws::Utils::DateTime m_updatedTimestamp;
167 bool m_updatedTimestampHasBeenSet = false;
168
169 Aws::String m_voiceConnectorArn;
170 bool m_voiceConnectorArnHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace Chime
175} // namespace Aws
VoiceConnector & WithName(const char *value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
VoiceConnector & WithVoiceConnectorId(const char *value)
VoiceConnector & WithOutboundHostName(const char *value)
VoiceConnector & WithVoiceConnectorId(Aws::String &&value)
void SetVoiceConnectorId(const char *value)
void SetVoiceConnectorId(Aws::String &&value)
void SetName(const char *value)
void SetName(const Aws::String &value)
void SetVoiceConnectorArn(const char *value)
VoiceConnector & WithVoiceConnectorArn(Aws::String &&value)
VoiceConnector & WithVoiceConnectorId(const Aws::String &value)
void SetName(Aws::String &&value)
AWS_CHIME_API VoiceConnector(Aws::Utils::Json::JsonView jsonValue)
void SetOutboundHostName(Aws::String &&value)
const Aws::String & GetVoiceConnectorId() const
const Aws::String & GetName() const
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVoiceConnectorArn() const
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
AWS_CHIME_API VoiceConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVoiceConnectorArn(const Aws::String &value)
VoiceConnector & WithName(Aws::String &&value)
void SetVoiceConnectorArn(Aws::String &&value)
VoiceConnector & WithVoiceConnectorArn(const char *value)
VoiceConnector & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
VoiceConnector & WithAwsRegion(const VoiceConnectorAwsRegion &value)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
VoiceConnector & WithRequireEncryption(bool value)
VoiceConnector & WithOutboundHostName(const Aws::String &value)
const VoiceConnectorAwsRegion & GetAwsRegion() const
void SetOutboundHostName(const Aws::String &value)
VoiceConnector & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetVoiceConnectorId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
VoiceConnector & WithAwsRegion(VoiceConnectorAwsRegion &&value)
VoiceConnector & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
VoiceConnector & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetOutboundHostName(const char *value)
VoiceConnector & WithOutboundHostName(Aws::String &&value)
void SetAwsRegion(const VoiceConnectorAwsRegion &value)
void SetAwsRegion(VoiceConnectorAwsRegion &&value)
VoiceConnector & WithName(const Aws::String &value)
const Aws::String & GetOutboundHostName() const
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
VoiceConnector & WithVoiceConnectorArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue