AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename SourceT = Source>
46 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
47 template<typename SourceT = Source>
48 StartSigningJobRequest& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
50
52
56 inline const Destination& GetDestination() const { return m_destination; }
57 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
58 template<typename DestinationT = Destination>
59 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
60 template<typename DestinationT = Destination>
61 StartSigningJobRequest& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
63
65
68 inline const Aws::String& GetProfileName() const { return m_profileName; }
69 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
70 template<typename ProfileNameT = Aws::String>
71 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
72 template<typename ProfileNameT = Aws::String>
73 StartSigningJobRequest& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
75
77
81 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
82 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
83 template<typename ClientRequestTokenT = Aws::String>
84 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
85 template<typename ClientRequestTokenT = Aws::String>
86 StartSigningJobRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
88
90
93 inline const Aws::String& GetProfileOwner() const { return m_profileOwner; }
94 inline bool ProfileOwnerHasBeenSet() const { return m_profileOwnerHasBeenSet; }
95 template<typename ProfileOwnerT = Aws::String>
96 void SetProfileOwner(ProfileOwnerT&& value) { m_profileOwnerHasBeenSet = true; m_profileOwner = std::forward<ProfileOwnerT>(value); }
97 template<typename ProfileOwnerT = Aws::String>
98 StartSigningJobRequest& WithProfileOwner(ProfileOwnerT&& value) { SetProfileOwner(std::forward<ProfileOwnerT>(value)); return *this;}
100 private:
101
102 Source m_source;
103 bool m_sourceHasBeenSet = false;
104
105 Destination m_destination;
106 bool m_destinationHasBeenSet = false;
107
108 Aws::String m_profileName;
109 bool m_profileNameHasBeenSet = false;
110
111 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
112 bool m_clientRequestTokenHasBeenSet = true;
113
114 Aws::String m_profileOwner;
115 bool m_profileOwnerHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace signer
120} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
StartSigningJobRequest & WithProfileName(ProfileNameT &&value)
StartSigningJobRequest & WithProfileOwner(ProfileOwnerT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
StartSigningJobRequest & WithClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
StartSigningJobRequest & WithDestination(DestinationT &&value)
StartSigningJobRequest & WithSource(SourceT &&value)
AWS_SIGNER_API StartSigningJobRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String