AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePackageResult.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/panorama/model/StorageLocation.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Panorama
28{
29namespace Model
30{
32 {
33 public:
34 AWS_PANORAMA_API DescribePackageResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline DescribePackageResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline DescribePackageResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline DescribePackageResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
57 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
58 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
59 inline DescribePackageResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
60 inline DescribePackageResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetPackageId() const{ return m_packageId; }
68 inline void SetPackageId(const Aws::String& value) { m_packageId = value; }
69 inline void SetPackageId(Aws::String&& value) { m_packageId = std::move(value); }
70 inline void SetPackageId(const char* value) { m_packageId.assign(value); }
71 inline DescribePackageResult& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
72 inline DescribePackageResult& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
73 inline DescribePackageResult& WithPackageId(const char* value) { SetPackageId(value); return *this;}
75
77
80 inline const Aws::String& GetPackageName() const{ return m_packageName; }
81 inline void SetPackageName(const Aws::String& value) { m_packageName = value; }
82 inline void SetPackageName(Aws::String&& value) { m_packageName = std::move(value); }
83 inline void SetPackageName(const char* value) { m_packageName.assign(value); }
84 inline DescribePackageResult& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
85 inline DescribePackageResult& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
86 inline DescribePackageResult& WithPackageName(const char* value) { SetPackageName(value); return *this;}
88
90
93 inline const Aws::Vector<Aws::String>& GetReadAccessPrincipalArns() const{ return m_readAccessPrincipalArns; }
94 inline void SetReadAccessPrincipalArns(const Aws::Vector<Aws::String>& value) { m_readAccessPrincipalArns = value; }
95 inline void SetReadAccessPrincipalArns(Aws::Vector<Aws::String>&& value) { m_readAccessPrincipalArns = std::move(value); }
98 inline DescribePackageResult& AddReadAccessPrincipalArns(const Aws::String& value) { m_readAccessPrincipalArns.push_back(value); return *this; }
99 inline DescribePackageResult& AddReadAccessPrincipalArns(Aws::String&& value) { m_readAccessPrincipalArns.push_back(std::move(value)); return *this; }
100 inline DescribePackageResult& AddReadAccessPrincipalArns(const char* value) { m_readAccessPrincipalArns.push_back(value); return *this; }
102
104
107 inline const StorageLocation& GetStorageLocation() const{ return m_storageLocation; }
108 inline void SetStorageLocation(const StorageLocation& value) { m_storageLocation = value; }
109 inline void SetStorageLocation(StorageLocation&& value) { m_storageLocation = std::move(value); }
111 inline DescribePackageResult& WithStorageLocation(StorageLocation&& value) { SetStorageLocation(std::move(value)); return *this;}
113
115
118 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
119 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
120 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
121 inline DescribePackageResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
122 inline DescribePackageResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
123 inline DescribePackageResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
124 inline DescribePackageResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
125 inline DescribePackageResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
126 inline DescribePackageResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
127 inline DescribePackageResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
128 inline DescribePackageResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
129 inline DescribePackageResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
131
133
136 inline const Aws::Vector<Aws::String>& GetWriteAccessPrincipalArns() const{ return m_writeAccessPrincipalArns; }
137 inline void SetWriteAccessPrincipalArns(const Aws::Vector<Aws::String>& value) { m_writeAccessPrincipalArns = value; }
138 inline void SetWriteAccessPrincipalArns(Aws::Vector<Aws::String>&& value) { m_writeAccessPrincipalArns = std::move(value); }
141 inline DescribePackageResult& AddWriteAccessPrincipalArns(const Aws::String& value) { m_writeAccessPrincipalArns.push_back(value); return *this; }
142 inline DescribePackageResult& AddWriteAccessPrincipalArns(Aws::String&& value) { m_writeAccessPrincipalArns.push_back(std::move(value)); return *this; }
143 inline DescribePackageResult& AddWriteAccessPrincipalArns(const char* value) { m_writeAccessPrincipalArns.push_back(value); return *this; }
145
147
148 inline const Aws::String& GetRequestId() const{ return m_requestId; }
149 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
150 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
151 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
152 inline DescribePackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
153 inline DescribePackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
154 inline DescribePackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
156 private:
157
158 Aws::String m_arn;
159
160 Aws::Utils::DateTime m_createdTime;
161
162 Aws::String m_packageId;
163
164 Aws::String m_packageName;
165
166 Aws::Vector<Aws::String> m_readAccessPrincipalArns;
167
168 StorageLocation m_storageLocation;
169
171
172 Aws::Vector<Aws::String> m_writeAccessPrincipalArns;
173
174 Aws::String m_requestId;
175 };
176
177} // namespace Model
178} // namespace Panorama
179} // namespace Aws
void SetReadAccessPrincipalArns(const Aws::Vector< Aws::String > &value)
DescribePackageResult & AddReadAccessPrincipalArns(const char *value)
DescribePackageResult & WithStorageLocation(const StorageLocation &value)
const Aws::Vector< Aws::String > & GetReadAccessPrincipalArns() const
DescribePackageResult & AddReadAccessPrincipalArns(const Aws::String &value)
void SetReadAccessPrincipalArns(Aws::Vector< Aws::String > &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
DescribePackageResult & WithArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribePackageResult & WithArn(Aws::String &&value)
DescribePackageResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribePackageResult & WithCreatedTime(const Aws::Utils::DateTime &value)
DescribePackageResult & AddTags(const char *key, const char *value)
DescribePackageResult & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< Aws::String > & GetWriteAccessPrincipalArns() const
DescribePackageResult & WithPackageName(const Aws::String &value)
DescribePackageResult & WithPackageId(const char *value)
const StorageLocation & GetStorageLocation() const
DescribePackageResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribePackageResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribePackageResult & AddWriteAccessPrincipalArns(const char *value)
DescribePackageResult & WithStorageLocation(StorageLocation &&value)
DescribePackageResult & AddWriteAccessPrincipalArns(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetWriteAccessPrincipalArns(const Aws::Vector< Aws::String > &value)
DescribePackageResult & WithRequestId(const char *value)
DescribePackageResult & WithReadAccessPrincipalArns(const Aws::Vector< Aws::String > &value)
AWS_PANORAMA_API DescribePackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePackageResult & WithWriteAccessPrincipalArns(const Aws::Vector< Aws::String > &value)
DescribePackageResult & WithReadAccessPrincipalArns(Aws::Vector< Aws::String > &&value)
DescribePackageResult & AddReadAccessPrincipalArns(Aws::String &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
DescribePackageResult & WithArn(const char *value)
DescribePackageResult & WithPackageId(Aws::String &&value)
void SetStorageLocation(const StorageLocation &value)
AWS_PANORAMA_API DescribePackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePackageResult & AddWriteAccessPrincipalArns(Aws::String &&value)
DescribePackageResult & WithWriteAccessPrincipalArns(Aws::Vector< Aws::String > &&value)
DescribePackageResult & WithCreatedTime(Aws::Utils::DateTime &&value)
DescribePackageResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribePackageResult & WithRequestId(const Aws::String &value)
void SetWriteAccessPrincipalArns(Aws::Vector< Aws::String > &&value)
DescribePackageResult & WithPackageId(const Aws::String &value)
DescribePackageResult & WithPackageName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribePackageResult & WithPackageName(Aws::String &&value)
DescribePackageResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribePackageResult & AddTags(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
DescribePackageResult & WithRequestId(Aws::String &&value)
DescribePackageResult & AddTags(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue