AWS SDK for C++  1.9.104
AWS SDK for C++
FederatedUser.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sts/STS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace STS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
47  inline const Aws::String& GetFederatedUserId() const{ return m_federatedUserId; }
48 
53  inline bool FederatedUserIdHasBeenSet() const { return m_federatedUserIdHasBeenSet; }
54 
59  inline void SetFederatedUserId(const Aws::String& value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId = value; }
60 
65  inline void SetFederatedUserId(Aws::String&& value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId = std::move(value); }
66 
71  inline void SetFederatedUserId(const char* value) { m_federatedUserIdHasBeenSet = true; m_federatedUserId.assign(value); }
72 
77  inline FederatedUser& WithFederatedUserId(const Aws::String& value) { SetFederatedUserId(value); return *this;}
78 
83  inline FederatedUser& WithFederatedUserId(Aws::String&& value) { SetFederatedUserId(std::move(value)); return *this;}
84 
89  inline FederatedUser& WithFederatedUserId(const char* value) { SetFederatedUserId(value); return *this;}
90 
91 
99  inline const Aws::String& GetArn() const{ return m_arn; }
100 
108  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
109 
117  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
118 
126  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
127 
135  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
136 
144  inline FederatedUser& WithArn(const Aws::String& value) { SetArn(value); return *this;}
145 
153  inline FederatedUser& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
154 
162  inline FederatedUser& WithArn(const char* value) { SetArn(value); return *this;}
163 
164  private:
165 
166  Aws::String m_federatedUserId;
167  bool m_federatedUserIdHasBeenSet;
168 
169  Aws::String m_arn;
170  bool m_arnHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace STS
175 } // namespace Aws
Aws::STS::Model::FederatedUser::SetFederatedUserId
void SetFederatedUserId(const char *value)
Definition: FederatedUser.h:71
Aws::STS::Model::FederatedUser::operator=
FederatedUser & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::STS::Model::FederatedUser::GetArn
const Aws::String & GetArn() const
Definition: FederatedUser.h:99
Aws::STS::Model::FederatedUser::WithFederatedUserId
FederatedUser & WithFederatedUserId(const Aws::String &value)
Definition: FederatedUser.h:77
Aws::STS::Model::FederatedUser::SetFederatedUserId
void SetFederatedUserId(const Aws::String &value)
Definition: FederatedUser.h:59
AWS_STS_API
#define AWS_STS_API
Definition: STS_EXPORTS.h:28
Aws::STS::Model::FederatedUser::FederatedUserIdHasBeenSet
bool FederatedUserIdHasBeenSet() const
Definition: FederatedUser.h:53
AWSStreamFwd.h
Aws::STS::Model::FederatedUser::GetFederatedUserId
const Aws::String & GetFederatedUserId() const
Definition: FederatedUser.h:47
Aws::STS::Model::FederatedUser::WithArn
FederatedUser & WithArn(const Aws::String &value)
Definition: FederatedUser.h:144
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::STS::Model::FederatedUser::SetArn
void SetArn(Aws::String &&value)
Definition: FederatedUser.h:126
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::STS::Model::FederatedUser::WithFederatedUserId
FederatedUser & WithFederatedUserId(const char *value)
Definition: FederatedUser.h:89
STS_EXPORTS.h
Aws::STS::Model::FederatedUser::WithFederatedUserId
FederatedUser & WithFederatedUserId(Aws::String &&value)
Definition: FederatedUser.h:83
Aws::STS::Model::FederatedUser::SetFederatedUserId
void SetFederatedUserId(Aws::String &&value)
Definition: FederatedUser.h:65
AWSString.h
Aws::STS::Model::FederatedUser::WithArn
FederatedUser & WithArn(const char *value)
Definition: FederatedUser.h:162
Aws::STS::Model::FederatedUser
Definition: FederatedUser.h:33
Aws::STS::Model::FederatedUser::FederatedUser
FederatedUser(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::STS::Model::FederatedUser::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: FederatedUser.h:108
Aws::STS::Model::FederatedUser::FederatedUser
FederatedUser()
Aws::STS::Model::FederatedUser::SetArn
void SetArn(const char *value)
Definition: FederatedUser.h:135
Aws
Definition: AccessManagementClient.h:15
Aws::STS::Model::FederatedUser::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::STS::Model::FederatedUser::SetArn
void SetArn(const Aws::String &value)
Definition: FederatedUser.h:117
Aws::STS::Model::FederatedUser::WithArn
FederatedUser & WithArn(Aws::String &&value)
Definition: FederatedUser.h:153
Aws::STS::Model::FederatedUser::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const