AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUploadUrlResult.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeGuruSecurity
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODEGURUSECURITY_API CreateUploadUrlResult();
34
35
37
41 inline const Aws::String& GetCodeArtifactId() const{ return m_codeArtifactId; }
42 inline void SetCodeArtifactId(const Aws::String& value) { m_codeArtifactId = value; }
43 inline void SetCodeArtifactId(Aws::String&& value) { m_codeArtifactId = std::move(value); }
44 inline void SetCodeArtifactId(const char* value) { m_codeArtifactId.assign(value); }
45 inline CreateUploadUrlResult& WithCodeArtifactId(const Aws::String& value) { SetCodeArtifactId(value); return *this;}
46 inline CreateUploadUrlResult& WithCodeArtifactId(Aws::String&& value) { SetCodeArtifactId(std::move(value)); return *this;}
47 inline CreateUploadUrlResult& WithCodeArtifactId(const char* value) { SetCodeArtifactId(value); return *this;}
49
51
55 inline const Aws::Map<Aws::String, Aws::String>& GetRequestHeaders() const{ return m_requestHeaders; }
56 inline void SetRequestHeaders(const Aws::Map<Aws::String, Aws::String>& value) { m_requestHeaders = value; }
57 inline void SetRequestHeaders(Aws::Map<Aws::String, Aws::String>&& value) { m_requestHeaders = std::move(value); }
60 inline CreateUploadUrlResult& AddRequestHeaders(const Aws::String& key, const Aws::String& value) { m_requestHeaders.emplace(key, value); return *this; }
61 inline CreateUploadUrlResult& AddRequestHeaders(Aws::String&& key, const Aws::String& value) { m_requestHeaders.emplace(std::move(key), value); return *this; }
62 inline CreateUploadUrlResult& AddRequestHeaders(const Aws::String& key, Aws::String&& value) { m_requestHeaders.emplace(key, std::move(value)); return *this; }
63 inline CreateUploadUrlResult& AddRequestHeaders(Aws::String&& key, Aws::String&& value) { m_requestHeaders.emplace(std::move(key), std::move(value)); return *this; }
64 inline CreateUploadUrlResult& AddRequestHeaders(const char* key, Aws::String&& value) { m_requestHeaders.emplace(key, std::move(value)); return *this; }
65 inline CreateUploadUrlResult& AddRequestHeaders(Aws::String&& key, const char* value) { m_requestHeaders.emplace(std::move(key), value); return *this; }
66 inline CreateUploadUrlResult& AddRequestHeaders(const char* key, const char* value) { m_requestHeaders.emplace(key, value); return *this; }
68
70
74 inline const Aws::String& GetS3Url() const{ return m_s3Url; }
75 inline void SetS3Url(const Aws::String& value) { m_s3Url = value; }
76 inline void SetS3Url(Aws::String&& value) { m_s3Url = std::move(value); }
77 inline void SetS3Url(const char* value) { m_s3Url.assign(value); }
78 inline CreateUploadUrlResult& WithS3Url(const Aws::String& value) { SetS3Url(value); return *this;}
79 inline CreateUploadUrlResult& WithS3Url(Aws::String&& value) { SetS3Url(std::move(value)); return *this;}
80 inline CreateUploadUrlResult& WithS3Url(const char* value) { SetS3Url(value); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline CreateUploadUrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline CreateUploadUrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline CreateUploadUrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::String m_codeArtifactId;
96
98
99 Aws::String m_s3Url;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace CodeGuruSecurity
106} // namespace Aws
AWS_CODEGURUSECURITY_API CreateUploadUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUploadUrlResult & AddRequestHeaders(const char *key, const char *value)
void SetRequestHeaders(Aws::Map< Aws::String, Aws::String > &&value)
CreateUploadUrlResult & WithRequestId(Aws::String &&value)
CreateUploadUrlResult & WithRequestId(const Aws::String &value)
CreateUploadUrlResult & AddRequestHeaders(Aws::String &&key, const char *value)
CreateUploadUrlResult & WithRequestHeaders(Aws::Map< Aws::String, Aws::String > &&value)
CreateUploadUrlResult & WithS3Url(Aws::String &&value)
void SetRequestHeaders(const Aws::Map< Aws::String, Aws::String > &value)
CreateUploadUrlResult & WithS3Url(const char *value)
AWS_CODEGURUSECURITY_API CreateUploadUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUploadUrlResult & AddRequestHeaders(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetRequestHeaders() const
CreateUploadUrlResult & AddRequestHeaders(const char *key, Aws::String &&value)
CreateUploadUrlResult & AddRequestHeaders(const Aws::String &key, const Aws::String &value)
CreateUploadUrlResult & AddRequestHeaders(const Aws::String &key, Aws::String &&value)
CreateUploadUrlResult & WithS3Url(const Aws::String &value)
CreateUploadUrlResult & AddRequestHeaders(Aws::String &&key, const Aws::String &value)
CreateUploadUrlResult & WithRequestHeaders(const Aws::Map< Aws::String, Aws::String > &value)
CreateUploadUrlResult & WithRequestId(const char *value)
CreateUploadUrlResult & WithCodeArtifactId(Aws::String &&value)
CreateUploadUrlResult & WithCodeArtifactId(const char *value)
CreateUploadUrlResult & WithCodeArtifactId(const 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