AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FederatedUser.h
1
6#pragma once
7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace STS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_STS_API FederatedUser();
36 AWS_STS_API FederatedUser(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_STS_API FederatedUser& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_STS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_STS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetFederatedUserId() const{ return m_federatedUserId; }
49 inline bool FederatedUserIdHasBeenSet() const { return m_federatedUserIdHasBeenSet; }
50 inline void SetFederatedUserId(const Aws::String& value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId = value; }
51 inline void SetFederatedUserId(Aws::String&& value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId = std::move(value); }
52 inline void SetFederatedUserId(const char* value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId.assign(value); }
53 inline FederatedUser& WithFederatedUserId(const Aws::String& value) { SetFederatedUserId(value); return *this;}
54 inline FederatedUser& WithFederatedUserId(Aws::String&& value) { SetFederatedUserId(std::move(value)); return *this;}
55 inline FederatedUser& WithFederatedUserId(const char* value) { SetFederatedUserId(value); return *this;}
57
59
66 inline const Aws::String& GetArn() const{ return m_arn; }
67 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
68 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
69 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
70 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
71 inline FederatedUser& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 inline FederatedUser& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
73 inline FederatedUser& WithArn(const char* value) { SetArn(value); return *this;}
75 private:
76
77 Aws::String m_federatedUserId;
78 bool m_federatedUserIdHasBeenSet = false;
79
80 Aws::String m_arn;
81 bool m_arnHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace STS
86} // namespace Aws
void SetFederatedUserId(const char *value)
AWS_STS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetArn() const
AWS_STS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetFederatedUserId(const Aws::String &value)
FederatedUser & WithArn(Aws::String &&value)
FederatedUser & WithFederatedUserId(const char *value)
FederatedUser & WithFederatedUserId(const Aws::String &value)
void SetArn(const Aws::String &value)
FederatedUser & WithFederatedUserId(Aws::String &&value)
FederatedUser & WithArn(const Aws::String &value)
const Aws::String & GetFederatedUserId() const
void SetArn(const char *value)
void SetArn(Aws::String &&value)
AWS_STS_API FederatedUser & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FederatedUser & WithArn(const char *value)
void SetFederatedUserId(Aws::String &&value)
AWS_STS_API FederatedUser(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream