7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sts/STS_EXPORTS.h>
45 template <
typename ScopedSessionIdT = Aws::String>
47 m_scopedSessionIdHasBeenSet =
true;
48 m_scopedSessionId = std::forward<ScopedSessionIdT>(value);
50 template <
typename ScopedSessionIdT = Aws::String>
66 template <
typename ArnT = Aws::String>
68 m_arnHasBeenSet =
true;
69 m_arn = std::forward<ArnT>(value);
71 template <
typename ArnT = Aws::String>
73 SetArn(std::forward<ArnT>(value));
81 bool m_scopedSessionIdHasBeenSet =
false;
82 bool m_arnHasBeenSet =
false;
AWS_STS_API ScopedSession & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetArn(ArnT &&value)
AWS_STS_API ScopedSession(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetScopedSessionId(ScopedSessionIdT &&value)
ScopedSession & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
AWS_STS_API ScopedSession()=default
AWS_STS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetScopedSessionId() const
const Aws::String & GetArn() const
ScopedSession & WithScopedSessionId(ScopedSessionIdT &&value)
AWS_STS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ScopedSessionIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream