AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SignPayloadResult.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace signer
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SIGNER_API SignPayloadResult();
35
36
38
41 inline const Aws::String& GetJobId() const{ return m_jobId; }
42 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
43 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
44 inline void SetJobId(const char* value) { m_jobId.assign(value); }
45 inline SignPayloadResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
46 inline SignPayloadResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
47 inline SignPayloadResult& WithJobId(const char* value) { SetJobId(value); return *this;}
49
51
54 inline const Aws::String& GetJobOwner() const{ return m_jobOwner; }
55 inline void SetJobOwner(const Aws::String& value) { m_jobOwner = value; }
56 inline void SetJobOwner(Aws::String&& value) { m_jobOwner = std::move(value); }
57 inline void SetJobOwner(const char* value) { m_jobOwner.assign(value); }
58 inline SignPayloadResult& WithJobOwner(const Aws::String& value) { SetJobOwner(value); return *this;}
59 inline SignPayloadResult& WithJobOwner(Aws::String&& value) { SetJobOwner(std::move(value)); return *this;}
60 inline SignPayloadResult& WithJobOwner(const char* value) { SetJobOwner(value); return *this;}
62
64
67 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
68 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadata = value; }
69 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadata = std::move(value); }
71 inline SignPayloadResult& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
72 inline SignPayloadResult& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadata.emplace(key, value); return *this; }
73 inline SignPayloadResult& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadata.emplace(std::move(key), value); return *this; }
74 inline SignPayloadResult& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
75 inline SignPayloadResult& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadata.emplace(std::move(key), std::move(value)); return *this; }
76 inline SignPayloadResult& AddMetadata(const char* key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
77 inline SignPayloadResult& AddMetadata(Aws::String&& key, const char* value) { m_metadata.emplace(std::move(key), value); return *this; }
78 inline SignPayloadResult& AddMetadata(const char* key, const char* value) { m_metadata.emplace(key, value); return *this; }
80
82
85 inline const Aws::Utils::ByteBuffer& GetSignature() const{ return m_signature; }
86 inline void SetSignature(const Aws::Utils::ByteBuffer& value) { m_signature = value; }
87 inline void SetSignature(Aws::Utils::ByteBuffer&& value) { m_signature = std::move(value); }
88 inline SignPayloadResult& WithSignature(const Aws::Utils::ByteBuffer& value) { SetSignature(value); return *this;}
89 inline SignPayloadResult& WithSignature(Aws::Utils::ByteBuffer&& value) { SetSignature(std::move(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline SignPayloadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline SignPayloadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline SignPayloadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_jobId;
105
106 Aws::String m_jobOwner;
107
109
110 Aws::Utils::ByteBuffer m_signature;
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace signer
117} // namespace Aws
SignPayloadResult & AddMetadata(Aws::String &&key, Aws::String &&value)
void SetSignature(const Aws::Utils::ByteBuffer &value)
AWS_SIGNER_API SignPayloadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SIGNER_API SignPayloadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SignPayloadResult & WithJobId(Aws::String &&value)
SignPayloadResult & WithJobOwner(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
SignPayloadResult & WithRequestId(const char *value)
SignPayloadResult & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
SignPayloadResult & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetRequestId() const
void SetJobOwner(const Aws::String &value)
SignPayloadResult & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
SignPayloadResult & AddMetadata(const char *key, const char *value)
SignPayloadResult & WithRequestId(const Aws::String &value)
SignPayloadResult & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetJobId(const Aws::String &value)
const Aws::String & GetJobId() const
SignPayloadResult & WithJobOwner(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
SignPayloadResult & WithJobId(const Aws::String &value)
const Aws::String & GetJobOwner() const
const Aws::Utils::ByteBuffer & GetSignature() const
SignPayloadResult & AddMetadata(const Aws::String &key, const Aws::String &value)
SignPayloadResult & WithSignature(Aws::Utils::ByteBuffer &&value)
SignPayloadResult & WithRequestId(Aws::String &&value)
void SetJobOwner(Aws::String &&value)
SignPayloadResult & AddMetadata(Aws::String &&key, const char *value)
void SetRequestId(Aws::String &&value)
void SetSignature(Aws::Utils::ByteBuffer &&value)
void SetRequestId(const Aws::String &value)
SignPayloadResult & WithJobOwner(Aws::String &&value)
SignPayloadResult & WithJobId(const char *value)
SignPayloadResult & WithSignature(const Aws::Utils::ByteBuffer &value)
SignPayloadResult & AddMetadata(const char *key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue