AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreatePackageResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/panorama/Panorama_EXPORTS.h>
9#include <aws/panorama/model/StorageLocation.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 Panorama {
23namespace Model {
25 public:
26 AWS_PANORAMA_API CreatePackageResult() = 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& GetPackageId() const { return m_packageId; }
52 template <typename PackageIdT = Aws::String>
53 void SetPackageId(PackageIdT&& value) {
54 m_packageIdHasBeenSet = true;
55 m_packageId = std::forward<PackageIdT>(value);
56 }
57 template <typename PackageIdT = Aws::String>
58 CreatePackageResult& WithPackageId(PackageIdT&& value) {
59 SetPackageId(std::forward<PackageIdT>(value));
60 return *this;
61 }
63
65
68 inline const StorageLocation& GetStorageLocation() const { return m_storageLocation; }
69 template <typename StorageLocationT = StorageLocation>
70 void SetStorageLocation(StorageLocationT&& value) {
71 m_storageLocationHasBeenSet = true;
72 m_storageLocation = std::forward<StorageLocationT>(value);
73 }
74 template <typename StorageLocationT = StorageLocation>
75 CreatePackageResult& WithStorageLocation(StorageLocationT&& value) {
76 SetStorageLocation(std::forward<StorageLocationT>(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>
90 CreatePackageResult& WithRequestId(RequestIdT&& value) {
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_arn;
97
98 Aws::String m_packageId;
99
100 StorageLocation m_storageLocation;
101
102 Aws::String m_requestId;
103 bool m_arnHasBeenSet = false;
104 bool m_packageIdHasBeenSet = false;
105 bool m_storageLocationHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Panorama
111} // 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)
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