7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename UrlT = Aws::String>
62 m_urlHasBeenSet =
true;
63 m_url = std::forward<UrlT>(value);
65 template <
typename UrlT = Aws::String>
67 SetUrl(std::forward<UrlT>(value));
80 m_isPrimaryHasBeenSet =
true;
93 bool m_isPrimary{
false};
94 bool m_nameHasBeenSet =
false;
95 bool m_urlHasBeenSet =
false;
96 bool m_isPrimaryHasBeenSet =
false;
const Aws::String & GetName() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Session & WithIsPrimary(bool value)
AWS_LIGHTSAIL_API Session()=default
void SetUrl(UrlT &&value)
AWS_LIGHTSAIL_API Session(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
Session & WithName(NameT &&value)
bool IsPrimaryHasBeenSet() const
Session & WithUrl(UrlT &&value)
void SetIsPrimary(bool value)
bool GetIsPrimary() const
AWS_LIGHTSAIL_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool UrlHasBeenSet() const
const Aws::String & GetUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue