/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Current state of options for customizable text banner that will be displayed
* on Amazon Web Services provided clients when a VPN session is
* established.See Also:
AWS
* API Reference
Current state of text banner feature.
Valid values: true |
* false
Current state of text banner feature.
Valid values: true |
* false
Current state of text banner feature.
Valid values: true |
* false
Current state of text banner feature.
Valid values: true |
* false
Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline const Aws::String& GetBannerText() const{ return m_bannerText; } /** *Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline bool BannerTextHasBeenSet() const { return m_bannerTextHasBeenSet; } /** *Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline void SetBannerText(const Aws::String& value) { m_bannerTextHasBeenSet = true; m_bannerText = value; } /** *Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline void SetBannerText(Aws::String&& value) { m_bannerTextHasBeenSet = true; m_bannerText = std::move(value); } /** *Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline void SetBannerText(const char* value) { m_bannerTextHasBeenSet = true; m_bannerText.assign(value); } /** *Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline ClientLoginBannerResponseOptions& WithBannerText(const Aws::String& value) { SetBannerText(value); return *this;} /** *Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline ClientLoginBannerResponseOptions& WithBannerText(Aws::String&& value) { SetBannerText(std::move(value)); return *this;} /** *Customizable text that will be displayed in a banner on Amazon Web Services * provided clients when a VPN session is established. UTF-8 encoded characters * only. Maximum of 1400 characters.
*/ inline ClientLoginBannerResponseOptions& WithBannerText(const char* value) { SetBannerText(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_bannerText; bool m_bannerTextHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws