AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSigningJobRequest.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/SignerRequest.h>
9#include <aws/signer/model/Source.h>
10#include <aws/signer/model/Destination.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace signer
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SIGNER_API StartSigningJobRequest();
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_SIGNER_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Source& GetSource() const{ return m_source; }
44 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
45 inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
46 inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
47 inline StartSigningJobRequest& WithSource(const Source& value) { SetSource(value); return *this;}
48 inline StartSigningJobRequest& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
50
52
56 inline const Destination& GetDestination() const{ return m_destination; }
57 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
58 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
59 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
60 inline StartSigningJobRequest& WithDestination(const Destination& value) { SetDestination(value); return *this;}
61 inline StartSigningJobRequest& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetProfileName() const{ return m_profileName; }
69 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
70 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
71 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
72 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
73 inline StartSigningJobRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
74 inline StartSigningJobRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
75 inline StartSigningJobRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
77
79
83 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
84 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
85 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
86 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
87 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
89 inline StartSigningJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
90 inline StartSigningJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
92
94
97 inline const Aws::String& GetProfileOwner() const{ return m_profileOwner; }
98 inline bool ProfileOwnerHasBeenSet() const { return m_profileOwnerHasBeenSet; }
99 inline void SetProfileOwner(const Aws::String& value) { m_profileOwnerHasBeenSet = true; m_profileOwner = value; }
100 inline void SetProfileOwner(Aws::String&& value) { m_profileOwnerHasBeenSet = true; m_profileOwner = std::move(value); }
101 inline void SetProfileOwner(const char* value) { m_profileOwnerHasBeenSet = true; m_profileOwner.assign(value); }
102 inline StartSigningJobRequest& WithProfileOwner(const Aws::String& value) { SetProfileOwner(value); return *this;}
103 inline StartSigningJobRequest& WithProfileOwner(Aws::String&& value) { SetProfileOwner(std::move(value)); return *this;}
104 inline StartSigningJobRequest& WithProfileOwner(const char* value) { SetProfileOwner(value); return *this;}
106 private:
107
108 Source m_source;
109 bool m_sourceHasBeenSet = false;
110
111 Destination m_destination;
112 bool m_destinationHasBeenSet = false;
113
114 Aws::String m_profileName;
115 bool m_profileNameHasBeenSet = false;
116
117 Aws::String m_clientRequestToken;
118 bool m_clientRequestTokenHasBeenSet = false;
119
120 Aws::String m_profileOwner;
121 bool m_profileOwnerHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace signer
126} // namespace Aws
StartSigningJobRequest & WithProfileName(Aws::String &&value)
StartSigningJobRequest & WithClientRequestToken(Aws::String &&value)
StartSigningJobRequest & WithSource(const Source &value)
AWS_SIGNER_API Aws::String SerializePayload() const override
StartSigningJobRequest & WithClientRequestToken(const char *value)
StartSigningJobRequest & WithProfileName(const Aws::String &value)
StartSigningJobRequest & WithProfileName(const char *value)
StartSigningJobRequest & WithDestination(Destination &&value)
virtual const char * GetServiceRequestName() const override
StartSigningJobRequest & WithProfileOwner(Aws::String &&value)
void SetClientRequestToken(const Aws::String &value)
StartSigningJobRequest & WithClientRequestToken(const Aws::String &value)
StartSigningJobRequest & WithDestination(const Destination &value)
StartSigningJobRequest & WithProfileOwner(const Aws::String &value)
StartSigningJobRequest & WithProfileOwner(const char *value)
StartSigningJobRequest & WithSource(Source &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String