AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateResourceSnapshotResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling {
22namespace Model {
24 public:
25 AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult() = default;
27 AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult& operator=(
29
31
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
54 inline int GetRevision() const { return m_revision; }
55 inline void SetRevision(int value) {
56 m_revisionHasBeenSet = true;
57 m_revision = value;
58 }
60 SetRevision(value);
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_arn;
81
82 int m_revision{0};
83
84 Aws::String m_requestId;
85 bool m_arnHasBeenSet = false;
86 bool m_revisionHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace PartnerCentralSelling
92} // namespace Aws
CreateResourceSnapshotResult & WithRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult()=default
AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALSELLING_API CreateResourceSnapshotResult & operator=(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