7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticLoadBalancing
39 AWS_ELASTICLOADBALANCING_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
52 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
66 inline void SetCookieExpirationPeriod(
long long value) { m_cookieExpirationPeriodHasBeenSet =
true; m_cookieExpirationPeriod = value; }
72 bool m_policyNameHasBeenSet =
false;
74 long long m_cookieExpirationPeriod;
75 bool m_cookieExpirationPeriodHasBeenSet =
false;
bool PolicyNameHasBeenSet() const
void SetPolicyName(Aws::String &&value)
AWS_ELASTICLOADBALANCING_API LBCookieStickinessPolicy & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
LBCookieStickinessPolicy & WithPolicyName(const char *value)
LBCookieStickinessPolicy & WithPolicyName(Aws::String &&value)
void SetPolicyName(const Aws::String &value)
bool CookieExpirationPeriodHasBeenSet() const
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LBCookieStickinessPolicy & WithPolicyName(const Aws::String &value)
const Aws::String & GetPolicyName() const
LBCookieStickinessPolicy & WithCookieExpirationPeriod(long long value)
AWS_ELASTICLOADBALANCING_API LBCookieStickinessPolicy(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API LBCookieStickinessPolicy()
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCookieExpirationPeriod(long long value)
void SetPolicyName(const char *value)
long long GetCookieExpirationPeriod() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream