/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Connection credentials. See Also:
AWS
* API Reference
The connection token.
*/ inline const Aws::String& GetConnectionToken() const{ return m_connectionToken; } /** *The connection token.
*/ inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; } /** *The connection token.
*/ inline void SetConnectionToken(const Aws::String& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = value; } /** *The connection token.
*/ inline void SetConnectionToken(Aws::String&& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = std::move(value); } /** *The connection token.
*/ inline void SetConnectionToken(const char* value) { m_connectionTokenHasBeenSet = true; m_connectionToken.assign(value); } /** *The connection token.
*/ inline ConnectionCredentials& WithConnectionToken(const Aws::String& value) { SetConnectionToken(value); return *this;} /** *The connection token.
*/ inline ConnectionCredentials& WithConnectionToken(Aws::String&& value) { SetConnectionToken(std::move(value)); return *this;} /** *The connection token.
*/ inline ConnectionCredentials& WithConnectionToken(const char* value) { SetConnectionToken(value); return *this;} /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline const Aws::String& GetExpiry() const{ return m_expiry; } /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; } /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline void SetExpiry(const Aws::String& value) { m_expiryHasBeenSet = true; m_expiry = value; } /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline void SetExpiry(Aws::String&& value) { m_expiryHasBeenSet = true; m_expiry = std::move(value); } /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline void SetExpiry(const char* value) { m_expiryHasBeenSet = true; m_expiry.assign(value); } /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline ConnectionCredentials& WithExpiry(const Aws::String& value) { SetExpiry(value); return *this;} /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline ConnectionCredentials& WithExpiry(Aws::String&& value) { SetExpiry(std::move(value)); return *this;} /** *The expiration of the token.
It's specified in ISO 8601 format: * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
*/ inline ConnectionCredentials& WithExpiry(const char* value) { SetExpiry(value); return *this;} private: Aws::String m_connectionToken; bool m_connectionTokenHasBeenSet = false; Aws::String m_expiry; bool m_expiryHasBeenSet = false; }; } // namespace Model } // namespace ConnectParticipant } // namespace Aws