AWS SDK for C++  1.9.103
AWS SDK for C++
CreateAuthenticationProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
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 "CreateAuthenticationProfile"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetAuthenticationProfileName() const{ return m_authenticationProfileName; }
43 
47  inline bool AuthenticationProfileNameHasBeenSet() const { return m_authenticationProfileNameHasBeenSet; }
48 
52  inline void SetAuthenticationProfileName(const Aws::String& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = value; }
53 
57  inline void SetAuthenticationProfileName(Aws::String&& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = std::move(value); }
58 
62  inline void SetAuthenticationProfileName(const char* value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName.assign(value); }
63 
67  inline CreateAuthenticationProfileRequest& WithAuthenticationProfileName(const Aws::String& value) { SetAuthenticationProfileName(value); return *this;}
68 
72  inline CreateAuthenticationProfileRequest& WithAuthenticationProfileName(Aws::String&& value) { SetAuthenticationProfileName(std::move(value)); return *this;}
73 
77  inline CreateAuthenticationProfileRequest& WithAuthenticationProfileName(const char* value) { SetAuthenticationProfileName(value); return *this;}
78 
79 
84  inline const Aws::String& GetAuthenticationProfileContent() const{ return m_authenticationProfileContent; }
85 
90  inline bool AuthenticationProfileContentHasBeenSet() const { return m_authenticationProfileContentHasBeenSet; }
91 
96  inline void SetAuthenticationProfileContent(const Aws::String& value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent = value; }
97 
102  inline void SetAuthenticationProfileContent(Aws::String&& value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent = std::move(value); }
103 
108  inline void SetAuthenticationProfileContent(const char* value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent.assign(value); }
109 
114  inline CreateAuthenticationProfileRequest& WithAuthenticationProfileContent(const Aws::String& value) { SetAuthenticationProfileContent(value); return *this;}
115 
120  inline CreateAuthenticationProfileRequest& WithAuthenticationProfileContent(Aws::String&& value) { SetAuthenticationProfileContent(std::move(value)); return *this;}
121 
126  inline CreateAuthenticationProfileRequest& WithAuthenticationProfileContent(const char* value) { SetAuthenticationProfileContent(value); return *this;}
127 
128  private:
129 
130  Aws::String m_authenticationProfileName;
131  bool m_authenticationProfileNameHasBeenSet;
132 
133  Aws::String m_authenticationProfileContent;
134  bool m_authenticationProfileContentHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace Redshift
139 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::CreateAuthenticationProfileRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::CreateAuthenticationProfileRequest::AuthenticationProfileContentHasBeenSet
bool AuthenticationProfileContentHasBeenSet() const
Definition: CreateAuthenticationProfileRequest.h:90
RedshiftRequest.h
Aws::Redshift::Model::CreateAuthenticationProfileRequest
Definition: CreateAuthenticationProfileRequest.h:22
Aws::Redshift::Model::CreateAuthenticationProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateAuthenticationProfileRequest.h:30
Aws::Redshift::Model::CreateAuthenticationProfileRequest::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(Aws::String &&value)
Definition: CreateAuthenticationProfileRequest.h:102
Aws::Redshift::Model::CreateAuthenticationProfileRequest::WithAuthenticationProfileContent
CreateAuthenticationProfileRequest & WithAuthenticationProfileContent(const Aws::String &value)
Definition: CreateAuthenticationProfileRequest.h:114
Aws::Redshift::Model::CreateAuthenticationProfileRequest::SetAuthenticationProfileName
void SetAuthenticationProfileName(const char *value)
Definition: CreateAuthenticationProfileRequest.h:62
Aws::Redshift::Model::CreateAuthenticationProfileRequest::SetAuthenticationProfileName
void SetAuthenticationProfileName(const Aws::String &value)
Definition: CreateAuthenticationProfileRequest.h:52
Aws::Redshift::Model::CreateAuthenticationProfileRequest::GetAuthenticationProfileContent
const Aws::String & GetAuthenticationProfileContent() const
Definition: CreateAuthenticationProfileRequest.h:84
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::CreateAuthenticationProfileRequest::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const Aws::String &value)
Definition: CreateAuthenticationProfileRequest.h:96
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::CreateAuthenticationProfileRequest::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const char *value)
Definition: CreateAuthenticationProfileRequest.h:108
Aws::Redshift::Model::CreateAuthenticationProfileRequest::CreateAuthenticationProfileRequest
CreateAuthenticationProfileRequest()
Aws::Redshift::Model::CreateAuthenticationProfileRequest::WithAuthenticationProfileName
CreateAuthenticationProfileRequest & WithAuthenticationProfileName(const char *value)
Definition: CreateAuthenticationProfileRequest.h:77
Aws::Redshift::Model::CreateAuthenticationProfileRequest::WithAuthenticationProfileName
CreateAuthenticationProfileRequest & WithAuthenticationProfileName(const Aws::String &value)
Definition: CreateAuthenticationProfileRequest.h:67
Aws::Redshift::Model::CreateAuthenticationProfileRequest::AuthenticationProfileNameHasBeenSet
bool AuthenticationProfileNameHasBeenSet() const
Definition: CreateAuthenticationProfileRequest.h:47
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::CreateAuthenticationProfileRequest::GetAuthenticationProfileName
const Aws::String & GetAuthenticationProfileName() const
Definition: CreateAuthenticationProfileRequest.h:42
Aws::Redshift::Model::CreateAuthenticationProfileRequest::WithAuthenticationProfileName
CreateAuthenticationProfileRequest & WithAuthenticationProfileName(Aws::String &&value)
Definition: CreateAuthenticationProfileRequest.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::CreateAuthenticationProfileRequest::WithAuthenticationProfileContent
CreateAuthenticationProfileRequest & WithAuthenticationProfileContent(const char *value)
Definition: CreateAuthenticationProfileRequest.h:126
Aws::Redshift::Model::CreateAuthenticationProfileRequest::SetAuthenticationProfileName
void SetAuthenticationProfileName(Aws::String &&value)
Definition: CreateAuthenticationProfileRequest.h:57
Aws::Redshift::Model::CreateAuthenticationProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::CreateAuthenticationProfileRequest::WithAuthenticationProfileContent
CreateAuthenticationProfileRequest & WithAuthenticationProfileContent(Aws::String &&value)
Definition: CreateAuthenticationProfileRequest.h:120