AWS SDK for C++  1.9.109
AWS SDK for C++
GetSigningProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace signer
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetSigningProfile"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetProfileName() const{ return m_profileName; }
45 
49  inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
50 
54  inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
55 
59  inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
60 
64  inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
65 
69  inline GetSigningProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
70 
74  inline GetSigningProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
75 
79  inline GetSigningProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
80 
81 
85  inline const Aws::String& GetProfileOwner() const{ return m_profileOwner; }
86 
90  inline bool ProfileOwnerHasBeenSet() const { return m_profileOwnerHasBeenSet; }
91 
95  inline void SetProfileOwner(const Aws::String& value) { m_profileOwnerHasBeenSet = true; m_profileOwner = value; }
96 
100  inline void SetProfileOwner(Aws::String&& value) { m_profileOwnerHasBeenSet = true; m_profileOwner = std::move(value); }
101 
105  inline void SetProfileOwner(const char* value) { m_profileOwnerHasBeenSet = true; m_profileOwner.assign(value); }
106 
110  inline GetSigningProfileRequest& WithProfileOwner(const Aws::String& value) { SetProfileOwner(value); return *this;}
111 
115  inline GetSigningProfileRequest& WithProfileOwner(Aws::String&& value) { SetProfileOwner(std::move(value)); return *this;}
116 
120  inline GetSigningProfileRequest& WithProfileOwner(const char* value) { SetProfileOwner(value); return *this;}
121 
122  private:
123 
124  Aws::String m_profileName;
125  bool m_profileNameHasBeenSet;
126 
127  Aws::String m_profileOwner;
128  bool m_profileOwnerHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace signer
133 } // namespace Aws
Aws::signer::Model::GetSigningProfileRequest::GetProfileName
const Aws::String & GetProfileName() const
Definition: GetSigningProfileRequest.h:44
Aws::signer::Model::GetSigningProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSigningProfileRequest.h:34
Aws::signer::Model::GetSigningProfileRequest::SetProfileName
void SetProfileName(const Aws::String &value)
Definition: GetSigningProfileRequest.h:54
Aws::Http::URI
Definition: URI.h:32
Aws::signer::Model::GetSigningProfileRequest::GetSigningProfileRequest
GetSigningProfileRequest()
Aws::signer::Model::GetSigningProfileRequest::SetProfileOwner
void SetProfileOwner(Aws::String &&value)
Definition: GetSigningProfileRequest.h:100
Aws::signer::Model::GetSigningProfileRequest::SetProfileName
void SetProfileName(Aws::String &&value)
Definition: GetSigningProfileRequest.h:59
Aws::signer::Model::GetSigningProfileRequest
Definition: GetSigningProfileRequest.h:26
Aws::signer::Model::GetSigningProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::signer::SignerRequest
Definition: SignerRequest.h:17
SignerRequest.h
Aws::signer::Model::GetSigningProfileRequest::ProfileOwnerHasBeenSet
bool ProfileOwnerHasBeenSet() const
Definition: GetSigningProfileRequest.h:90
AWSString.h
AWS_SIGNER_API
#define AWS_SIGNER_API
Definition: Signer_EXPORTS.h:28
Aws::signer::Model::GetSigningProfileRequest::WithProfileName
GetSigningProfileRequest & WithProfileName(Aws::String &&value)
Definition: GetSigningProfileRequest.h:74
Aws::signer::Model::GetSigningProfileRequest::SetProfileOwner
void SetProfileOwner(const Aws::String &value)
Definition: GetSigningProfileRequest.h:95
Aws::signer::Model::GetSigningProfileRequest::WithProfileName
GetSigningProfileRequest & WithProfileName(const Aws::String &value)
Definition: GetSigningProfileRequest.h:69
Aws::signer::Model::GetSigningProfileRequest::WithProfileName
GetSigningProfileRequest & WithProfileName(const char *value)
Definition: GetSigningProfileRequest.h:79
Aws::signer::Model::GetSigningProfileRequest::WithProfileOwner
GetSigningProfileRequest & WithProfileOwner(Aws::String &&value)
Definition: GetSigningProfileRequest.h:115
Aws::signer::Model::GetSigningProfileRequest::ProfileNameHasBeenSet
bool ProfileNameHasBeenSet() const
Definition: GetSigningProfileRequest.h:49
Aws::signer::Model::GetSigningProfileRequest::WithProfileOwner
GetSigningProfileRequest & WithProfileOwner(const Aws::String &value)
Definition: GetSigningProfileRequest.h:110
Aws
Definition: AccessManagementClient.h:15
Signer_EXPORTS.h
Aws::signer::Model::GetSigningProfileRequest::SetProfileName
void SetProfileName(const char *value)
Definition: GetSigningProfileRequest.h:64
Aws::signer::Model::GetSigningProfileRequest::AddQueryStringParameters
void AddQueryStringParameters(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::signer::Model::GetSigningProfileRequest::WithProfileOwner
GetSigningProfileRequest & WithProfileOwner(const char *value)
Definition: GetSigningProfileRequest.h:120
Aws::signer::Model::GetSigningProfileRequest::SetProfileOwner
void SetProfileOwner(const char *value)
Definition: GetSigningProfileRequest.h:105
Aws::signer::Model::GetSigningProfileRequest::GetProfileOwner
const Aws::String & GetProfileOwner() const
Definition: GetSigningProfileRequest.h:85