AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
PutSigningProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/signer/Signer_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace signer {
23namespace Model {
25 public:
26 AWS_SIGNER_API PutSigningProfileResult() = default;
29
31
34 inline const Aws::String& GetArn() const { return m_arn; }
35 template <typename ArnT = Aws::String>
36 void SetArn(ArnT&& value) {
37 m_arnHasBeenSet = true;
38 m_arn = std::forward<ArnT>(value);
39 }
40 template <typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
52 template <typename ProfileVersionT = Aws::String>
53 void SetProfileVersion(ProfileVersionT&& value) {
54 m_profileVersionHasBeenSet = true;
55 m_profileVersion = std::forward<ProfileVersionT>(value);
56 }
57 template <typename ProfileVersionT = Aws::String>
58 PutSigningProfileResult& WithProfileVersion(ProfileVersionT&& value) {
59 SetProfileVersion(std::forward<ProfileVersionT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetProfileVersionArn() const { return m_profileVersionArn; }
69 template <typename ProfileVersionArnT = Aws::String>
70 void SetProfileVersionArn(ProfileVersionArnT&& value) {
71 m_profileVersionArnHasBeenSet = true;
72 m_profileVersionArn = std::forward<ProfileVersionArnT>(value);
73 }
74 template <typename ProfileVersionArnT = Aws::String>
75 PutSigningProfileResult& WithProfileVersionArn(ProfileVersionArnT&& value) {
76 SetProfileVersionArn(std::forward<ProfileVersionArnT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_arn;
99
100 Aws::String m_profileVersion;
101
102 Aws::String m_profileVersionArn;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_arnHasBeenSet = false;
107 bool m_profileVersionHasBeenSet = false;
108 bool m_profileVersionArnHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace signer
114} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
PutSigningProfileResult & WithProfileVersion(ProfileVersionT &&value)
PutSigningProfileResult & WithRequestId(RequestIdT &&value)
PutSigningProfileResult & WithProfileVersionArn(ProfileVersionArnT &&value)
PutSigningProfileResult & WithArn(ArnT &&value)
AWS_SIGNER_API PutSigningProfileResult()=default
AWS_SIGNER_API PutSigningProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProfileVersionArn(ProfileVersionArnT &&value)
AWS_SIGNER_API PutSigningProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue