AWS SDK for C++  1.9.14
AWS SDK for C++
GetContainerAPIMetadataResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetMetadata() const{ return m_metadata; }
42 
47  inline void SetMetadata(const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& value) { m_metadata = value; }
48 
53  inline void SetMetadata(Aws::Vector<Aws::Map<Aws::String, Aws::String>>&& value) { m_metadata = std::move(value); }
54 
59  inline GetContainerAPIMetadataResult& WithMetadata(const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& value) { SetMetadata(value); return *this;}
60 
65  inline GetContainerAPIMetadataResult& WithMetadata(Aws::Vector<Aws::Map<Aws::String, Aws::String>>&& value) { SetMetadata(std::move(value)); return *this;}
66 
71  inline GetContainerAPIMetadataResult& AddMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadata.push_back(value); return *this; }
72 
77  inline GetContainerAPIMetadataResult& AddMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadata.push_back(std::move(value)); return *this; }
78 
79  private:
80 
82  };
83 
84 } // namespace Model
85 } // namespace Lightsail
86 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetContainerAPIMetadataResult::operator=
GetContainerAPIMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetContainerAPIMetadataResult::WithMetadata
GetContainerAPIMetadataResult & WithMetadata(const Aws::Vector< Aws::Map< Aws::String, Aws::String >> &value)
Definition: GetContainerAPIMetadataResult.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lightsail::Model::GetContainerAPIMetadataResult::WithMetadata
GetContainerAPIMetadataResult & WithMetadata(Aws::Vector< Aws::Map< Aws::String, Aws::String >> &&value)
Definition: GetContainerAPIMetadataResult.h:65
Aws::Lightsail::Model::GetContainerAPIMetadataResult::GetMetadata
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetMetadata() const
Definition: GetContainerAPIMetadataResult.h:41
Aws::Lightsail::Model::GetContainerAPIMetadataResult::GetContainerAPIMetadataResult
GetContainerAPIMetadataResult()
Aws::Lightsail::Model::GetContainerAPIMetadataResult::AddMetadata
GetContainerAPIMetadataResult & AddMetadata(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetContainerAPIMetadataResult.h:77
Aws::Lightsail::Model::GetContainerAPIMetadataResult::GetContainerAPIMetadataResult
GetContainerAPIMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetContainerAPIMetadataResult
Definition: GetContainerAPIMetadataResult.h:30
Aws::Lightsail::Model::GetContainerAPIMetadataResult::SetMetadata
void SetMetadata(const Aws::Vector< Aws::Map< Aws::String, Aws::String >> &value)
Definition: GetContainerAPIMetadataResult.h:47
AWSString.h
Aws::Lightsail::Model::GetContainerAPIMetadataResult::SetMetadata
void SetMetadata(Aws::Vector< Aws::Map< Aws::String, Aws::String >> &&value)
Definition: GetContainerAPIMetadataResult.h:53
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetContainerAPIMetadataResult::AddMetadata
GetContainerAPIMetadataResult & AddMetadata(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetContainerAPIMetadataResult.h:71
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19