AWS SDK for C++  1.9.108
AWS SDK for C++
StartSigningJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace signer
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "StartSigningJob"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Source& GetSource() const{ return m_source; }
43 
48  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
49 
54  inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
55 
60  inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
61 
66  inline StartSigningJobRequest& WithSource(const Source& value) { SetSource(value); return *this;}
67 
72  inline StartSigningJobRequest& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
73 
74 
79  inline const Destination& GetDestination() const{ return m_destination; }
80 
85  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
86 
91  inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
92 
97  inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
98 
103  inline StartSigningJobRequest& WithDestination(const Destination& value) { SetDestination(value); return *this;}
104 
109  inline StartSigningJobRequest& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
110 
111 
115  inline const Aws::String& GetProfileName() const{ return m_profileName; }
116 
120  inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
121 
125  inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
126 
130  inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
131 
135  inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
136 
140  inline StartSigningJobRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
141 
145  inline StartSigningJobRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
146 
150  inline StartSigningJobRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
151 
152 
157  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
158 
163  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
164 
169  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
170 
175  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
176 
181  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
182 
187  inline StartSigningJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
188 
193  inline StartSigningJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
194 
199  inline StartSigningJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
200 
201 
205  inline const Aws::String& GetProfileOwner() const{ return m_profileOwner; }
206 
210  inline bool ProfileOwnerHasBeenSet() const { return m_profileOwnerHasBeenSet; }
211 
215  inline void SetProfileOwner(const Aws::String& value) { m_profileOwnerHasBeenSet = true; m_profileOwner = value; }
216 
220  inline void SetProfileOwner(Aws::String&& value) { m_profileOwnerHasBeenSet = true; m_profileOwner = std::move(value); }
221 
225  inline void SetProfileOwner(const char* value) { m_profileOwnerHasBeenSet = true; m_profileOwner.assign(value); }
226 
230  inline StartSigningJobRequest& WithProfileOwner(const Aws::String& value) { SetProfileOwner(value); return *this;}
231 
235  inline StartSigningJobRequest& WithProfileOwner(Aws::String&& value) { SetProfileOwner(std::move(value)); return *this;}
236 
240  inline StartSigningJobRequest& WithProfileOwner(const char* value) { SetProfileOwner(value); return *this;}
241 
242  private:
243 
244  Source m_source;
245  bool m_sourceHasBeenSet;
246 
247  Destination m_destination;
248  bool m_destinationHasBeenSet;
249 
250  Aws::String m_profileName;
251  bool m_profileNameHasBeenSet;
252 
253  Aws::String m_clientRequestToken;
254  bool m_clientRequestTokenHasBeenSet;
255 
256  Aws::String m_profileOwner;
257  bool m_profileOwnerHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace signer
262 } // namespace Aws
Aws::signer::Model::StartSigningJobRequest::WithClientRequestToken
StartSigningJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartSigningJobRequest.h:187
Aws::signer::Model::StartSigningJobRequest::SetSource
void SetSource(Source &&value)
Definition: StartSigningJobRequest.h:60
Aws::signer::Model::StartSigningJobRequest::SetProfileName
void SetProfileName(const char *value)
Definition: StartSigningJobRequest.h:135
Aws::signer::Model::StartSigningJobRequest::WithClientRequestToken
StartSigningJobRequest & WithClientRequestToken(const char *value)
Definition: StartSigningJobRequest.h:199
Aws::signer::Model::StartSigningJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartSigningJobRequest.h:33
Aws::signer::Model::StartSigningJobRequest::SetProfileOwner
void SetProfileOwner(Aws::String &&value)
Definition: StartSigningJobRequest.h:220
Aws::signer::Model::StartSigningJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartSigningJobRequest.h:169
Aws::signer::Model::StartSigningJobRequest::WithProfileOwner
StartSigningJobRequest & WithProfileOwner(const Aws::String &value)
Definition: StartSigningJobRequest.h:230
Aws::signer::Model::StartSigningJobRequest::WithProfileName
StartSigningJobRequest & WithProfileName(const Aws::String &value)
Definition: StartSigningJobRequest.h:140
Aws::signer::Model::StartSigningJobRequest::WithProfileOwner
StartSigningJobRequest & WithProfileOwner(const char *value)
Definition: StartSigningJobRequest.h:240
Aws::signer::Model::StartSigningJobRequest::GetProfileOwner
const Aws::String & GetProfileOwner() const
Definition: StartSigningJobRequest.h:205
Destination.h
Aws::signer::Model::StartSigningJobRequest::SetSource
void SetSource(const Source &value)
Definition: StartSigningJobRequest.h:54
Aws::signer::Model::StartSigningJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartSigningJobRequest.h:175
Aws::signer::Model::StartSigningJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartSigningJobRequest.h:181
Aws::signer::Model::StartSigningJobRequest::GetProfileName
const Aws::String & GetProfileName() const
Definition: StartSigningJobRequest.h:115
Aws::signer::Model::StartSigningJobRequest::WithDestination
StartSigningJobRequest & WithDestination(Destination &&value)
Definition: StartSigningJobRequest.h:109
Aws::signer::SignerRequest
Definition: SignerRequest.h:17
SignerRequest.h
Aws::signer::Model::StartSigningJobRequest::WithSource
StartSigningJobRequest & WithSource(const Source &value)
Definition: StartSigningJobRequest.h:66
Source.h
Aws::signer::Model::StartSigningJobRequest::SetDestination
void SetDestination(Destination &&value)
Definition: StartSigningJobRequest.h:97
Aws::signer::Model::StartSigningJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::signer::Model::StartSigningJobRequest::WithProfileName
StartSigningJobRequest & WithProfileName(const char *value)
Definition: StartSigningJobRequest.h:150
AWSString.h
AWS_SIGNER_API
#define AWS_SIGNER_API
Definition: Signer_EXPORTS.h:28
Aws::signer::Model::StartSigningJobRequest::WithDestination
StartSigningJobRequest & WithDestination(const Destination &value)
Definition: StartSigningJobRequest.h:103
Aws::signer::Model::StartSigningJobRequest::ProfileOwnerHasBeenSet
bool ProfileOwnerHasBeenSet() const
Definition: StartSigningJobRequest.h:210
Aws::signer::Model::StartSigningJobRequest::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: StartSigningJobRequest.h:48
Aws::signer::Model::StartSigningJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartSigningJobRequest.h:163
Aws::signer::Model::StartSigningJobRequest::SetProfileName
void SetProfileName(Aws::String &&value)
Definition: StartSigningJobRequest.h:130
Aws::signer::Model::Source
Definition: Source.h:33
Aws::signer::Model::StartSigningJobRequest::GetSource
const Source & GetSource() const
Definition: StartSigningJobRequest.h:42
Aws::signer::Model::StartSigningJobRequest::WithProfileName
StartSigningJobRequest & WithProfileName(Aws::String &&value)
Definition: StartSigningJobRequest.h:145
Aws::signer::Model::StartSigningJobRequest::WithClientRequestToken
StartSigningJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartSigningJobRequest.h:193
Aws::signer::Model::StartSigningJobRequest::GetDestination
const Destination & GetDestination() const
Definition: StartSigningJobRequest.h:79
Aws::signer::Model::Destination
Definition: Destination.h:33
Aws::signer::Model::StartSigningJobRequest::SetProfileOwner
void SetProfileOwner(const Aws::String &value)
Definition: StartSigningJobRequest.h:215
Aws
Definition: AccessManagementClient.h:15
Aws::signer::Model::StartSigningJobRequest::SetProfileOwner
void SetProfileOwner(const char *value)
Definition: StartSigningJobRequest.h:225
Aws::signer::Model::StartSigningJobRequest::SetProfileName
void SetProfileName(const Aws::String &value)
Definition: StartSigningJobRequest.h:125
Aws::signer::Model::StartSigningJobRequest::WithProfileOwner
StartSigningJobRequest & WithProfileOwner(Aws::String &&value)
Definition: StartSigningJobRequest.h:235
Signer_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::signer::Model::StartSigningJobRequest
Definition: StartSigningJobRequest.h:25
Aws::signer::Model::StartSigningJobRequest::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: StartSigningJobRequest.h:85
Aws::signer::Model::StartSigningJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartSigningJobRequest.h:157
Aws::signer::Model::StartSigningJobRequest::SetDestination
void SetDestination(const Destination &value)
Definition: StartSigningJobRequest.h:91
Aws::signer::Model::StartSigningJobRequest::StartSigningJobRequest
StartSigningJobRequest()
UUID.h
Aws::signer::Model::StartSigningJobRequest::ProfileNameHasBeenSet
bool ProfileNameHasBeenSet() const
Definition: StartSigningJobRequest.h:120
Aws::signer::Model::StartSigningJobRequest::WithSource
StartSigningJobRequest & WithSource(Source &&value)
Definition: StartSigningJobRequest.h:72