AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SipMediaApplication.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/SipMediaApplicationEndpoint.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
37 {
38 public:
39 AWS_CHIME_API SipMediaApplication();
42 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetSipMediaApplicationId() const{ return m_sipMediaApplicationId; }
50 inline bool SipMediaApplicationIdHasBeenSet() const { return m_sipMediaApplicationIdHasBeenSet; }
51 inline void SetSipMediaApplicationId(const Aws::String& value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId = value; }
52 inline void SetSipMediaApplicationId(Aws::String&& value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId = std::move(value); }
53 inline void SetSipMediaApplicationId(const char* value) { m_sipMediaApplicationIdHasBeenSet = true; m_sipMediaApplicationId.assign(value); }
55 inline SipMediaApplication& WithSipMediaApplicationId(Aws::String&& value) { SetSipMediaApplicationId(std::move(value)); return *this;}
56 inline SipMediaApplication& WithSipMediaApplicationId(const char* value) { SetSipMediaApplicationId(value); return *this;}
58
60
63 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
64 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
65 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
66 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
67 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
68 inline SipMediaApplication& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
69 inline SipMediaApplication& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
70 inline SipMediaApplication& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline SipMediaApplication& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline SipMediaApplication& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline SipMediaApplication& WithName(const char* value) { SetName(value); return *this;}
86
88
92 inline const Aws::Vector<SipMediaApplicationEndpoint>& GetEndpoints() const{ return m_endpoints; }
93 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
94 inline void SetEndpoints(const Aws::Vector<SipMediaApplicationEndpoint>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
95 inline void SetEndpoints(Aws::Vector<SipMediaApplicationEndpoint>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
98 inline SipMediaApplication& AddEndpoints(const SipMediaApplicationEndpoint& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
99 inline SipMediaApplication& AddEndpoints(SipMediaApplicationEndpoint&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
101
103
106 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
107 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
108 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
109 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
111 inline SipMediaApplication& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
119 inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
120 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; }
121 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); }
123 inline SipMediaApplication& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
125 private:
126
127 Aws::String m_sipMediaApplicationId;
128 bool m_sipMediaApplicationIdHasBeenSet = false;
129
130 Aws::String m_awsRegion;
131 bool m_awsRegionHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
137 bool m_endpointsHasBeenSet = 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
146} // namespace Model
147} // namespace Chime
148} // namespace Aws
SipMediaApplication & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAwsRegion(const Aws::String &value)
SipMediaApplication & WithSipMediaApplicationId(const Aws::String &value)
SipMediaApplication & WithSipMediaApplicationId(Aws::String &&value)
SipMediaApplication & WithAwsRegion(const Aws::String &value)
void SetEndpoints(Aws::Vector< SipMediaApplicationEndpoint > &&value)
SipMediaApplication & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetAwsRegion() const
void SetSipMediaApplicationId(Aws::String &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
const Aws::String & GetSipMediaApplicationId() const
SipMediaApplication & WithEndpoints(Aws::Vector< SipMediaApplicationEndpoint > &&value)
AWS_CHIME_API SipMediaApplication & operator=(Aws::Utils::Json::JsonView jsonValue)
SipMediaApplication & WithName(Aws::String &&value)
SipMediaApplication & AddEndpoints(SipMediaApplicationEndpoint &&value)
SipMediaApplication & WithName(const Aws::String &value)
SipMediaApplication & WithEndpoints(const Aws::Vector< SipMediaApplicationEndpoint > &value)
void SetSipMediaApplicationId(const char *value)
void SetName(const Aws::String &value)
void SetEndpoints(const Aws::Vector< SipMediaApplicationEndpoint > &value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
SipMediaApplication & WithAwsRegion(Aws::String &&value)
SipMediaApplication & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
SipMediaApplication & WithAwsRegion(const char *value)
SipMediaApplication & WithSipMediaApplicationId(const char *value)
void SetSipMediaApplicationId(const Aws::String &value)
SipMediaApplication & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
SipMediaApplication & WithName(const char *value)
SipMediaApplication & AddEndpoints(const SipMediaApplicationEndpoint &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::Vector< SipMediaApplicationEndpoint > & GetEndpoints() const
AWS_CHIME_API SipMediaApplication(Aws::Utils::Json::JsonView jsonValue)
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