AWS SDK for C++  1.9.44
AWS SDK for C++
GetSAMLProviderRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetSAMLProvider"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
45  inline const Aws::String& GetSAMLProviderArn() const{ return m_sAMLProviderArn; }
46 
53  inline bool SAMLProviderArnHasBeenSet() const { return m_sAMLProviderArnHasBeenSet; }
54 
61  inline void SetSAMLProviderArn(const Aws::String& value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn = value; }
62 
69  inline void SetSAMLProviderArn(Aws::String&& value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn = std::move(value); }
70 
77  inline void SetSAMLProviderArn(const char* value) { m_sAMLProviderArnHasBeenSet = true; m_sAMLProviderArn.assign(value); }
78 
85  inline GetSAMLProviderRequest& WithSAMLProviderArn(const Aws::String& value) { SetSAMLProviderArn(value); return *this;}
86 
93  inline GetSAMLProviderRequest& WithSAMLProviderArn(Aws::String&& value) { SetSAMLProviderArn(std::move(value)); return *this;}
94 
101  inline GetSAMLProviderRequest& WithSAMLProviderArn(const char* value) { SetSAMLProviderArn(value); return *this;}
102 
103  private:
104 
105  Aws::String m_sAMLProviderArn;
106  bool m_sAMLProviderArnHasBeenSet;
107  };
108 
109 } // namespace Model
110 } // namespace IAM
111 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::GetSAMLProviderRequest::WithSAMLProviderArn
GetSAMLProviderRequest & WithSAMLProviderArn(Aws::String &&value)
Definition: GetSAMLProviderRequest.h:93
Aws::IAM::Model::GetSAMLProviderRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IAM::Model::GetSAMLProviderRequest::WithSAMLProviderArn
GetSAMLProviderRequest & WithSAMLProviderArn(const Aws::String &value)
Definition: GetSAMLProviderRequest.h:85
Aws::IAM::Model::GetSAMLProviderRequest::GetSAMLProviderArn
const Aws::String & GetSAMLProviderArn() const
Definition: GetSAMLProviderRequest.h:45
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::GetSAMLProviderRequest::SetSAMLProviderArn
void SetSAMLProviderArn(const Aws::String &value)
Definition: GetSAMLProviderRequest.h:61
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::GetSAMLProviderRequest::GetSAMLProviderRequest
GetSAMLProviderRequest()
Aws::IAM::Model::GetSAMLProviderRequest::SetSAMLProviderArn
void SetSAMLProviderArn(Aws::String &&value)
Definition: GetSAMLProviderRequest.h:69
Aws::IAM::Model::GetSAMLProviderRequest::SetSAMLProviderArn
void SetSAMLProviderArn(const char *value)
Definition: GetSAMLProviderRequest.h:77
Aws::IAM::Model::GetSAMLProviderRequest::SAMLProviderArnHasBeenSet
bool SAMLProviderArnHasBeenSet() const
Definition: GetSAMLProviderRequest.h:53
AWSString.h
IAM_EXPORTS.h
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::GetSAMLProviderRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::GetSAMLProviderRequest::WithSAMLProviderArn
GetSAMLProviderRequest & WithSAMLProviderArn(const char *value)
Definition: GetSAMLProviderRequest.h:101
Aws::IAM::Model::GetSAMLProviderRequest
Definition: GetSAMLProviderRequest.h:22
Aws::IAM::Model::GetSAMLProviderRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSAMLProviderRequest.h:30