AWS SDK for C++  1.9.109
AWS SDK for C++
FederatedAuthenticationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_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 EC2
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 
46  inline const Aws::String& GetSAMLProviderArn() const{ return m_sAMLProviderArn; }
47 
51  inline bool SAMLProviderArnHasBeenSet() const { return m_sAMLProviderArnHasBeenSet; }
52 
56  inline void SetSAMLProviderArn(const Aws::String& value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn = value; }
57 
61  inline void SetSAMLProviderArn(Aws::String&& value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn = std::move(value); }
62 
66  inline void SetSAMLProviderArn(const char* value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn.assign(value); }
67 
71  inline FederatedAuthenticationRequest& WithSAMLProviderArn(const Aws::String& value) { SetSAMLProviderArn(value); return *this;}
72 
76  inline FederatedAuthenticationRequest& WithSAMLProviderArn(Aws::String&& value) { SetSAMLProviderArn(std::move(value)); return *this;}
77 
81  inline FederatedAuthenticationRequest& WithSAMLProviderArn(const char* value) { SetSAMLProviderArn(value); return *this;}
82 
83 
88  inline const Aws::String& GetSelfServiceSAMLProviderArn() const{ return m_selfServiceSAMLProviderArn; }
89 
94  inline bool SelfServiceSAMLProviderArnHasBeenSet() const { return m_selfServiceSAMLProviderArnHasBeenSet; }
95 
100  inline void SetSelfServiceSAMLProviderArn(const Aws::String& value) { m_selfServiceSAMLProviderArnHasBeenSet = true; m_selfServiceSAMLProviderArn = value; }
101 
106  inline void SetSelfServiceSAMLProviderArn(Aws::String&& value) { m_selfServiceSAMLProviderArnHasBeenSet = true; m_selfServiceSAMLProviderArn = std::move(value); }
107 
112  inline void SetSelfServiceSAMLProviderArn(const char* value) { m_selfServiceSAMLProviderArnHasBeenSet = true; m_selfServiceSAMLProviderArn.assign(value); }
113 
118  inline FederatedAuthenticationRequest& WithSelfServiceSAMLProviderArn(const Aws::String& value) { SetSelfServiceSAMLProviderArn(value); return *this;}
119 
124  inline FederatedAuthenticationRequest& WithSelfServiceSAMLProviderArn(Aws::String&& value) { SetSelfServiceSAMLProviderArn(std::move(value)); return *this;}
125 
130  inline FederatedAuthenticationRequest& WithSelfServiceSAMLProviderArn(const char* value) { SetSelfServiceSAMLProviderArn(value); return *this;}
131 
132  private:
133 
134  Aws::String m_sAMLProviderArn;
135  bool m_sAMLProviderArnHasBeenSet;
136 
137  Aws::String m_selfServiceSAMLProviderArn;
138  bool m_selfServiceSAMLProviderArnHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace EC2
143 } // namespace Aws
Aws::EC2::Model::FederatedAuthenticationRequest::WithSelfServiceSAMLProviderArn
FederatedAuthenticationRequest & WithSelfServiceSAMLProviderArn(Aws::String &&value)
Definition: FederatedAuthenticationRequest.h:124
Aws::EC2::Model::FederatedAuthenticationRequest::WithSAMLProviderArn
FederatedAuthenticationRequest & WithSAMLProviderArn(const Aws::String &value)
Definition: FederatedAuthenticationRequest.h:71
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::FederatedAuthenticationRequest::SetSelfServiceSAMLProviderArn
void SetSelfServiceSAMLProviderArn(const char *value)
Definition: FederatedAuthenticationRequest.h:112
AWSStreamFwd.h
Aws::EC2::Model::FederatedAuthenticationRequest::FederatedAuthenticationRequest
FederatedAuthenticationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::FederatedAuthenticationRequest::SetSAMLProviderArn
void SetSAMLProviderArn(Aws::String &&value)
Definition: FederatedAuthenticationRequest.h:61
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::FederatedAuthenticationRequest::SetSAMLProviderArn
void SetSAMLProviderArn(const Aws::String &value)
Definition: FederatedAuthenticationRequest.h:56
Aws::EC2::Model::FederatedAuthenticationRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::FederatedAuthenticationRequest::GetSelfServiceSAMLProviderArn
const Aws::String & GetSelfServiceSAMLProviderArn() const
Definition: FederatedAuthenticationRequest.h:88
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::FederatedAuthenticationRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::FederatedAuthenticationRequest::GetSAMLProviderArn
const Aws::String & GetSAMLProviderArn() const
Definition: FederatedAuthenticationRequest.h:46
Aws::EC2::Model::FederatedAuthenticationRequest::SetSelfServiceSAMLProviderArn
void SetSelfServiceSAMLProviderArn(Aws::String &&value)
Definition: FederatedAuthenticationRequest.h:106
Aws::EC2::Model::FederatedAuthenticationRequest::SetSAMLProviderArn
void SetSAMLProviderArn(const char *value)
Definition: FederatedAuthenticationRequest.h:66
Aws::EC2::Model::FederatedAuthenticationRequest
Definition: FederatedAuthenticationRequest.h:33
Aws::EC2::Model::FederatedAuthenticationRequest::operator=
FederatedAuthenticationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::FederatedAuthenticationRequest::WithSAMLProviderArn
FederatedAuthenticationRequest & WithSAMLProviderArn(Aws::String &&value)
Definition: FederatedAuthenticationRequest.h:76
AWSString.h
Aws::EC2::Model::FederatedAuthenticationRequest::SAMLProviderArnHasBeenSet
bool SAMLProviderArnHasBeenSet() const
Definition: FederatedAuthenticationRequest.h:51
Aws::EC2::Model::FederatedAuthenticationRequest::SelfServiceSAMLProviderArnHasBeenSet
bool SelfServiceSAMLProviderArnHasBeenSet() const
Definition: FederatedAuthenticationRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::FederatedAuthenticationRequest::FederatedAuthenticationRequest
FederatedAuthenticationRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::FederatedAuthenticationRequest::WithSAMLProviderArn
FederatedAuthenticationRequest & WithSAMLProviderArn(const char *value)
Definition: FederatedAuthenticationRequest.h:81
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::FederatedAuthenticationRequest::WithSelfServiceSAMLProviderArn
FederatedAuthenticationRequest & WithSelfServiceSAMLProviderArn(const Aws::String &value)
Definition: FederatedAuthenticationRequest.h:118
Aws::EC2::Model::FederatedAuthenticationRequest::SetSelfServiceSAMLProviderArn
void SetSelfServiceSAMLProviderArn(const Aws::String &value)
Definition: FederatedAuthenticationRequest.h:100
Aws::EC2::Model::FederatedAuthenticationRequest::WithSelfServiceSAMLProviderArn
FederatedAuthenticationRequest & WithSelfServiceSAMLProviderArn(const char *value)
Definition: FederatedAuthenticationRequest.h:130
EC2_EXPORTS.h