AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreatePackageResult.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/model/StorageLocation.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 Panorama
25{
26namespace Model
27{
29 {
30 public:
31 AWS_PANORAMA_API CreatePackageResult() = default;
34
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template<typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
43 template<typename ArnT = Aws::String>
44 CreatePackageResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetPackageId() const { return m_packageId; }
52 template<typename PackageIdT = Aws::String>
53 void SetPackageId(PackageIdT&& value) { m_packageIdHasBeenSet = true; m_packageId = std::forward<PackageIdT>(value); }
54 template<typename PackageIdT = Aws::String>
55 CreatePackageResult& WithPackageId(PackageIdT&& value) { SetPackageId(std::forward<PackageIdT>(value)); return *this;}
57
59
62 inline const StorageLocation& GetStorageLocation() const { return m_storageLocation; }
63 template<typename StorageLocationT = StorageLocation>
64 void SetStorageLocation(StorageLocationT&& value) { m_storageLocationHasBeenSet = true; m_storageLocation = std::forward<StorageLocationT>(value); }
65 template<typename StorageLocationT = StorageLocation>
66 CreatePackageResult& WithStorageLocation(StorageLocationT&& value) { SetStorageLocation(std::forward<StorageLocationT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CreatePackageResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_arn;
80 bool m_arnHasBeenSet = false;
81
82 Aws::String m_packageId;
83 bool m_packageIdHasBeenSet = false;
84
85 StorageLocation m_storageLocation;
86 bool m_storageLocationHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Panorama
94} // 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