AWS SDK for C++  1.9.71
AWS SDK for C++
FederatedAuthentication.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 FederatedAuthentication& WithSamlProviderArn(const Aws::String& value) { SetSamlProviderArn(value); return *this;}
72 
76  inline FederatedAuthentication& WithSamlProviderArn(Aws::String&& value) { SetSamlProviderArn(std::move(value)); return *this;}
77 
81  inline FederatedAuthentication& 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 FederatedAuthentication& WithSelfServiceSamlProviderArn(const Aws::String& value) { SetSelfServiceSamlProviderArn(value); return *this;}
119 
124  inline FederatedAuthentication& WithSelfServiceSamlProviderArn(Aws::String&& value) { SetSelfServiceSamlProviderArn(std::move(value)); return *this;}
125 
130  inline FederatedAuthentication& 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::FederatedAuthentication::SetSelfServiceSamlProviderArn
void SetSelfServiceSamlProviderArn(Aws::String &&value)
Definition: FederatedAuthentication.h:106
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::FederatedAuthentication::FederatedAuthentication
FederatedAuthentication(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::FederatedAuthentication
Definition: FederatedAuthentication.h:33
AWSStreamFwd.h
Aws::EC2::Model::FederatedAuthentication::SetSamlProviderArn
void SetSamlProviderArn(const char *value)
Definition: FederatedAuthentication.h:66
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::FederatedAuthentication::SamlProviderArnHasBeenSet
bool SamlProviderArnHasBeenSet() const
Definition: FederatedAuthentication.h:51
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::FederatedAuthentication::GetSelfServiceSamlProviderArn
const Aws::String & GetSelfServiceSamlProviderArn() const
Definition: FederatedAuthentication.h:88
Aws::EC2::Model::FederatedAuthentication::SetSamlProviderArn
void SetSamlProviderArn(Aws::String &&value)
Definition: FederatedAuthentication.h:61
AWSString.h
Aws::EC2::Model::FederatedAuthentication::operator=
FederatedAuthentication & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::FederatedAuthentication::WithSamlProviderArn
FederatedAuthentication & WithSamlProviderArn(const Aws::String &value)
Definition: FederatedAuthentication.h:71
Aws::EC2::Model::FederatedAuthentication::WithSelfServiceSamlProviderArn
FederatedAuthentication & WithSelfServiceSamlProviderArn(const char *value)
Definition: FederatedAuthentication.h:130
Aws::EC2::Model::FederatedAuthentication::WithSelfServiceSamlProviderArn
FederatedAuthentication & WithSelfServiceSamlProviderArn(const Aws::String &value)
Definition: FederatedAuthentication.h:118
Aws::EC2::Model::FederatedAuthentication::WithSamlProviderArn
FederatedAuthentication & WithSamlProviderArn(const char *value)
Definition: FederatedAuthentication.h:81
Aws::EC2::Model::FederatedAuthentication::GetSamlProviderArn
const Aws::String & GetSamlProviderArn() const
Definition: FederatedAuthentication.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::FederatedAuthentication::SetSelfServiceSamlProviderArn
void SetSelfServiceSamlProviderArn(const char *value)
Definition: FederatedAuthentication.h:112
Aws::EC2::Model::FederatedAuthentication::WithSamlProviderArn
FederatedAuthentication & WithSamlProviderArn(Aws::String &&value)
Definition: FederatedAuthentication.h:76
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::EC2::Model::FederatedAuthentication::SetSelfServiceSamlProviderArn
void SetSelfServiceSamlProviderArn(const Aws::String &value)
Definition: FederatedAuthentication.h:100
Aws::EC2::Model::FederatedAuthentication::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::FederatedAuthentication::SetSamlProviderArn
void SetSamlProviderArn(const Aws::String &value)
Definition: FederatedAuthentication.h:56
Aws::EC2::Model::FederatedAuthentication::FederatedAuthentication
FederatedAuthentication()
Aws::EC2::Model::FederatedAuthentication::WithSelfServiceSamlProviderArn
FederatedAuthentication & WithSelfServiceSamlProviderArn(Aws::String &&value)
Definition: FederatedAuthentication.h:124
Aws::EC2::Model::FederatedAuthentication::SelfServiceSamlProviderArnHasBeenSet
bool SelfServiceSamlProviderArnHasBeenSet() const
Definition: FederatedAuthentication.h:94
EC2_EXPORTS.h
Aws::EC2::Model::FederatedAuthentication::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const