7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
64 template<
typename BannerTextT = Aws::String>
65 void SetBannerText(BannerTextT&& value) { m_bannerTextHasBeenSet =
true; m_bannerText = std::forward<BannerTextT>(value); }
66 template<
typename BannerTextT = Aws::String>
71 bool m_enabled{
false};
72 bool m_enabledHasBeenSet =
false;
75 bool m_bannerTextHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool BannerTextHasBeenSet() const
AWS_EC2_API ClientLoginBannerOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBannerText(BannerTextT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClientLoginBannerOptions & WithBannerText(BannerTextT &&value)
ClientLoginBannerOptions & WithEnabled(bool value)
AWS_EC2_API ClientLoginBannerOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEnabled(bool value)
const Aws::String & GetBannerText() const
bool EnabledHasBeenSet() const
AWS_EC2_API ClientLoginBannerOptions()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream