AWS SDK for C++

AWS SDK for C++ Version 1.11.781

Loading...
Searching...
No Matches
CreatePackageResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/Panorama_EXPORTS.h>
10#include <aws/panorama/model/StorageLocation.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Panorama {
24namespace Model {
26 public:
27 AWS_PANORAMA_API CreatePackageResult() = default;
30
32
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
52 inline const Aws::String& GetPackageId() const { return m_packageId; }
53 template <typename PackageIdT = Aws::String>
54 void SetPackageId(PackageIdT&& value) {
55 m_packageIdHasBeenSet = true;
56 m_packageId = std::forward<PackageIdT>(value);
57 }
58 template <typename PackageIdT = Aws::String>
59 CreatePackageResult& WithPackageId(PackageIdT&& value) {
60 SetPackageId(std::forward<PackageIdT>(value));
61 return *this;
62 }
64
66
69 inline const StorageLocation& GetStorageLocation() const { return m_storageLocation; }
70 template <typename StorageLocationT = StorageLocation>
71 void SetStorageLocation(StorageLocationT&& value) {
72 m_storageLocationHasBeenSet = true;
73 m_storageLocation = std::forward<StorageLocationT>(value);
74 }
75 template <typename StorageLocationT = StorageLocation>
76 CreatePackageResult& WithStorageLocation(StorageLocationT&& value) {
77 SetStorageLocation(std::forward<StorageLocationT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 CreatePackageResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_arn;
100
101 Aws::String m_packageId;
102
103 StorageLocation m_storageLocation;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_arnHasBeenSet = false;
108 bool m_packageIdHasBeenSet = false;
109 bool m_storageLocationHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Panorama
115} // namespace Aws
void SetStorageLocation(StorageLocationT &&value)
AWS_PANORAMA_API CreatePackageResult()=default
const StorageLocation & GetStorageLocation() const
CreatePackageResult & WithArn(ArnT &&value)
CreatePackageResult & WithStorageLocation(StorageLocationT &&value)
AWS_PANORAMA_API CreatePackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreatePackageResult & WithPackageId(PackageIdT &&value)
CreatePackageResult & WithRequestId(RequestIdT &&value)
AWS_PANORAMA_API CreatePackageResult(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