AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreatePackageResult.h
Go to the documentation of this file.
1
6#pragma once
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:
34
35
39 inline const Aws::String& GetArn() const{ return m_arn; }
40
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45
49 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50
54 inline void SetArn(const char* value) { m_arn.assign(value); }
55
59 inline CreatePackageResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60
64 inline CreatePackageResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65
69 inline CreatePackageResult& WithArn(const char* value) { SetArn(value); return *this;}
70
71
75 inline const Aws::String& GetPackageId() const{ return m_packageId; }
76
80 inline void SetPackageId(const Aws::String& value) { m_packageId = value; }
81
85 inline void SetPackageId(Aws::String&& value) { m_packageId = std::move(value); }
86
90 inline void SetPackageId(const char* value) { m_packageId.assign(value); }
91
95 inline CreatePackageResult& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
96
100 inline CreatePackageResult& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
101
105 inline CreatePackageResult& WithPackageId(const char* value) { SetPackageId(value); return *this;}
106
107
111 inline const StorageLocation& GetStorageLocation() const{ return m_storageLocation; }
112
116 inline void SetStorageLocation(const StorageLocation& value) { m_storageLocation = value; }
117
121 inline void SetStorageLocation(StorageLocation&& value) { m_storageLocation = std::move(value); }
122
126 inline CreatePackageResult& WithStorageLocation(const StorageLocation& value) { SetStorageLocation(value); return *this;}
127
131 inline CreatePackageResult& WithStorageLocation(StorageLocation&& value) { SetStorageLocation(std::move(value)); return *this;}
132
133 private:
134
135 Aws::String m_arn;
136
137 Aws::String m_packageId;
138
139 StorageLocation m_storageLocation;
140 };
141
142} // namespace Model
143} // namespace Panorama
144} // namespace Aws
#define AWS_PANORAMA_API
CreatePackageResult & WithStorageLocation(StorageLocation &&value)
CreatePackageResult & WithStorageLocation(const StorageLocation &value)
void SetArn(const Aws::String &value)
void SetStorageLocation(StorageLocation &&value)
const StorageLocation & GetStorageLocation() const
CreatePackageResult & WithPackageId(const char *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 & WithArn(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