7#include <aws/iotsecuretunneling/IoTSecureTunneling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsecuretunneling/model/TunnelStatus.h>
10#include <aws/iotsecuretunneling/model/ConnectionState.h>
11#include <aws/iotsecuretunneling/model/DestinationConfig.h>
12#include <aws/iotsecuretunneling/model/TimeoutConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/iotsecuretunneling/model/Tag.h>
28namespace IoTSecureTunneling
56 inline void SetTunnelId(
const char* value) { m_tunnelIdHasBeenSet =
true; m_tunnelId.assign(value); }
70 inline void SetTunnelArn(
const char* value) { m_tunnelArnHasBeenSet =
true; m_tunnelArn.assign(value); }
120 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
162 inline Tunnel&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
163 inline Tunnel&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
192 bool m_tunnelIdHasBeenSet =
false;
195 bool m_tunnelArnHasBeenSet =
false;
198 bool m_statusHasBeenSet =
false;
201 bool m_sourceConnectionStateHasBeenSet =
false;
204 bool m_destinationConnectionStateHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
210 bool m_destinationConfigHasBeenSet =
false;
213 bool m_timeoutConfigHasBeenSet =
false;
216 bool m_tagsHasBeenSet =
false;
219 bool m_createdAtHasBeenSet =
false;
222 bool m_lastUpdatedAtHasBeenSet =
false;
const Aws::String & GetTunnelId() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool StatusHasBeenSet() const
Tunnel & WithTunnelId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
Tunnel & WithDescription(Aws::String &&value)
Tunnel & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
Tunnel & WithDestinationConnectionState(ConnectionState &&value)
Tunnel & AddTags(const Tag &value)
void SetStatus(const TunnelStatus &value)
Tunnel & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
bool TimeoutConfigHasBeenSet() const
bool TagsHasBeenSet() const
const ConnectionState & GetDestinationConnectionState() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Tunnel & WithSourceConnectionState(const ConnectionState &value)
void SetSourceConnectionState(ConnectionState &&value)
void SetDestinationConnectionState(ConnectionState &&value)
Tunnel & WithTunnelId(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Tunnel & AddTags(Tag &&value)
Tunnel & WithStatus(const TunnelStatus &value)
bool CreatedAtHasBeenSet() const
Tunnel & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetTunnelId(const char *value)
AWS_IOTSECURETUNNELING_API Tunnel(Aws::Utils::Json::JsonView jsonValue)
Tunnel & WithDestinationConfig(const DestinationConfig &value)
AWS_IOTSECURETUNNELING_API Tunnel()
AWS_IOTSECURETUNNELING_API Tunnel & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTunnelId(const Aws::String &value)
Tunnel & WithDescription(const Aws::String &value)
const DestinationConfig & GetDestinationConfig() const
void SetTunnelId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Vector< Tag > &value)
bool TunnelArnHasBeenSet() const
bool TunnelIdHasBeenSet() const
void SetDestinationConnectionState(const ConnectionState &value)
bool DestinationConfigHasBeenSet() const
void SetDescription(Aws::String &&value)
Tunnel & WithTunnelArn(Aws::String &&value)
const TunnelStatus & GetStatus() const
Tunnel & WithTimeoutConfig(const TimeoutConfig &value)
Tunnel & WithTunnelArn(const Aws::String &value)
void SetTunnelArn(Aws::String &&value)
bool DestinationConnectionStateHasBeenSet() const
Tunnel & WithTimeoutConfig(TimeoutConfig &&value)
void SetTunnelArn(const Aws::String &value)
Tunnel & WithStatus(TunnelStatus &&value)
const Aws::Vector< Tag > & GetTags() const
Tunnel & WithTags(Aws::Vector< Tag > &&value)
AWS_IOTSECURETUNNELING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
void SetSourceConnectionState(const ConnectionState &value)
const ConnectionState & GetSourceConnectionState() const
bool LastUpdatedAtHasBeenSet() const
bool DescriptionHasBeenSet() const
bool SourceConnectionStateHasBeenSet() const
Tunnel & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetDestinationConfig(DestinationConfig &&value)
Tunnel & WithTunnelArn(const char *value)
Tunnel & WithDescription(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const TimeoutConfig & GetTimeoutConfig() const
void SetTunnelArn(const char *value)
void SetTimeoutConfig(const TimeoutConfig &value)
void SetDestinationConfig(const DestinationConfig &value)
const Aws::String & GetTunnelArn() const
Tunnel & WithDestinationConfig(DestinationConfig &&value)
void SetTags(Aws::Vector< Tag > &&value)
Tunnel & WithDestinationConnectionState(const ConnectionState &value)
Tunnel & WithSourceConnectionState(ConnectionState &&value)
void SetStatus(TunnelStatus &&value)
void SetDescription(const char *value)
Tunnel & WithTags(const Aws::Vector< Tag > &value)
void SetTimeoutConfig(TimeoutConfig &&value)
Tunnel & WithTunnelId(const char *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