AWS SDK for C++  1.9.104
AWS SDK for C++
ModifyAuthenticationProfileRequest.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 "ModifyAuthenticationProfile"; }
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 ModifyAuthenticationProfileRequest& WithAuthenticationProfileName(const Aws::String& value) { SetAuthenticationProfileName(value); return *this;}
68 
72  inline ModifyAuthenticationProfileRequest& WithAuthenticationProfileName(Aws::String&& value) { SetAuthenticationProfileName(std::move(value)); return *this;}
73 
77  inline ModifyAuthenticationProfileRequest& 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 ModifyAuthenticationProfileRequest& WithAuthenticationProfileContent(const Aws::String& value) { SetAuthenticationProfileContent(value); return *this;}
115 
120  inline ModifyAuthenticationProfileRequest& WithAuthenticationProfileContent(Aws::String&& value) { SetAuthenticationProfileContent(std::move(value)); return *this;}
121 
126  inline ModifyAuthenticationProfileRequest& 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::Redshift::Model::ModifyAuthenticationProfileRequest::SetAuthenticationProfileName
void SetAuthenticationProfileName(const char *value)
Definition: ModifyAuthenticationProfileRequest.h:62
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const Aws::String &value)
Definition: ModifyAuthenticationProfileRequest.h:96
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::WithAuthenticationProfileContent
ModifyAuthenticationProfileRequest & WithAuthenticationProfileContent(Aws::String &&value)
Definition: ModifyAuthenticationProfileRequest.h:120
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyAuthenticationProfileRequest.h:30
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::ModifyAuthenticationProfileRequest
ModifyAuthenticationProfileRequest()
RedshiftRequest.h
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(Aws::String &&value)
Definition: ModifyAuthenticationProfileRequest.h:102
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const char *value)
Definition: ModifyAuthenticationProfileRequest.h:108
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::SetAuthenticationProfileName
void SetAuthenticationProfileName(Aws::String &&value)
Definition: ModifyAuthenticationProfileRequest.h:57
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::GetAuthenticationProfileName
const Aws::String & GetAuthenticationProfileName() const
Definition: ModifyAuthenticationProfileRequest.h:42
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ModifyAuthenticationProfileRequest
Definition: ModifyAuthenticationProfileRequest.h:22
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::AuthenticationProfileContentHasBeenSet
bool AuthenticationProfileContentHasBeenSet() const
Definition: ModifyAuthenticationProfileRequest.h:90
AWSString.h
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::SetAuthenticationProfileName
void SetAuthenticationProfileName(const Aws::String &value)
Definition: ModifyAuthenticationProfileRequest.h:52
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::WithAuthenticationProfileContent
ModifyAuthenticationProfileRequest & WithAuthenticationProfileContent(const char *value)
Definition: ModifyAuthenticationProfileRequest.h:126
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::WithAuthenticationProfileName
ModifyAuthenticationProfileRequest & WithAuthenticationProfileName(const char *value)
Definition: ModifyAuthenticationProfileRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::AuthenticationProfileNameHasBeenSet
bool AuthenticationProfileNameHasBeenSet() const
Definition: ModifyAuthenticationProfileRequest.h:47
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::WithAuthenticationProfileContent
ModifyAuthenticationProfileRequest & WithAuthenticationProfileContent(const Aws::String &value)
Definition: ModifyAuthenticationProfileRequest.h:114
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::WithAuthenticationProfileName
ModifyAuthenticationProfileRequest & WithAuthenticationProfileName(Aws::String &&value)
Definition: ModifyAuthenticationProfileRequest.h:72
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::WithAuthenticationProfileName
ModifyAuthenticationProfileRequest & WithAuthenticationProfileName(const Aws::String &value)
Definition: ModifyAuthenticationProfileRequest.h:67
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::ModifyAuthenticationProfileRequest::GetAuthenticationProfileContent
const Aws::String & GetAuthenticationProfileContent() const
Definition: ModifyAuthenticationProfileRequest.h:84