AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline CreatePackageResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline CreatePackageResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline CreatePackageResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetPackageId() const{ return m_packageId; }
54 inline void SetPackageId(const Aws::String& value) { m_packageId = value; }
55 inline void SetPackageId(Aws::String&& value) { m_packageId = std::move(value); }
56 inline void SetPackageId(const char* value) { m_packageId.assign(value); }
57 inline CreatePackageResult& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
58 inline CreatePackageResult& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
59 inline CreatePackageResult& WithPackageId(const char* value) { SetPackageId(value); return *this;}
61
63
66 inline const StorageLocation& GetStorageLocation() const{ return m_storageLocation; }
67 inline void SetStorageLocation(const StorageLocation& value) { m_storageLocation = value; }
68 inline void SetStorageLocation(StorageLocation&& value) { m_storageLocation = std::move(value); }
69 inline CreatePackageResult& WithStorageLocation(const StorageLocation& value) { SetStorageLocation(value); return *this;}
70 inline CreatePackageResult& WithStorageLocation(StorageLocation&& value) { SetStorageLocation(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreatePackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreatePackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreatePackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_arn;
86
87 Aws::String m_packageId;
88
89 StorageLocation m_storageLocation;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Panorama
96} // namespace Aws
CreatePackageResult & WithStorageLocation(StorageLocation &&value)
CreatePackageResult & WithStorageLocation(const StorageLocation &value)
void SetStorageLocation(StorageLocation &&value)
const StorageLocation & GetStorageLocation() const
CreatePackageResult & WithPackageId(const char *value)
void SetRequestId(const Aws::String &value)
void SetStorageLocation(const StorageLocation &value)
CreatePackageResult & WithPackageId(const Aws::String &value)
void SetPackageId(const Aws::String &value)
CreatePackageResult & WithArn(const char *value)
AWS_PANORAMA_API CreatePackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePackageResult & WithPackageId(Aws::String &&value)
CreatePackageResult & WithRequestId(Aws::String &&value)
CreatePackageResult & WithArn(const Aws::String &value)
CreatePackageResult & WithRequestId(const char *value)
CreatePackageResult & WithRequestId(const Aws::String &value)
CreatePackageResult & WithArn(Aws::String &&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