AWS SDK for C++  1.9.104
AWS SDK for C++
GetBucketAccessKeysResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<AccessKey>& GetAccessKeys() const{ return m_accessKeys; }
40 
44  inline void SetAccessKeys(const Aws::Vector<AccessKey>& value) { m_accessKeys = value; }
45 
49  inline void SetAccessKeys(Aws::Vector<AccessKey>&& value) { m_accessKeys = std::move(value); }
50 
54  inline GetBucketAccessKeysResult& WithAccessKeys(const Aws::Vector<AccessKey>& value) { SetAccessKeys(value); return *this;}
55 
59  inline GetBucketAccessKeysResult& WithAccessKeys(Aws::Vector<AccessKey>&& value) { SetAccessKeys(std::move(value)); return *this;}
60 
64  inline GetBucketAccessKeysResult& AddAccessKeys(const AccessKey& value) { m_accessKeys.push_back(value); return *this; }
65 
69  inline GetBucketAccessKeysResult& AddAccessKeys(AccessKey&& value) { m_accessKeys.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<AccessKey> m_accessKeys;
74  };
75 
76 } // namespace Model
77 } // namespace Lightsail
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::AccessKey
Definition: AccessKey.h:46
Aws::Lightsail::Model::GetBucketAccessKeysResult
Definition: GetBucketAccessKeysResult.h:29
Aws::Lightsail::Model::GetBucketAccessKeysResult::SetAccessKeys
void SetAccessKeys(Aws::Vector< AccessKey > &&value)
Definition: GetBucketAccessKeysResult.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lightsail::Model::GetBucketAccessKeysResult::WithAccessKeys
GetBucketAccessKeysResult & WithAccessKeys(Aws::Vector< AccessKey > &&value)
Definition: GetBucketAccessKeysResult.h:59
Aws::Lightsail::Model::GetBucketAccessKeysResult::GetBucketAccessKeysResult
GetBucketAccessKeysResult()
Aws::Lightsail::Model::GetBucketAccessKeysResult::SetAccessKeys
void SetAccessKeys(const Aws::Vector< AccessKey > &value)
Definition: GetBucketAccessKeysResult.h:44
Aws::Lightsail::Model::GetBucketAccessKeysResult::AddAccessKeys
GetBucketAccessKeysResult & AddAccessKeys(AccessKey &&value)
Definition: GetBucketAccessKeysResult.h:69
Aws::Lightsail::Model::GetBucketAccessKeysResult::operator=
GetBucketAccessKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetBucketAccessKeysResult::AddAccessKeys
GetBucketAccessKeysResult & AddAccessKeys(const AccessKey &value)
Definition: GetBucketAccessKeysResult.h:64
AccessKey.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetBucketAccessKeysResult::WithAccessKeys
GetBucketAccessKeysResult & WithAccessKeys(const Aws::Vector< AccessKey > &value)
Definition: GetBucketAccessKeysResult.h:54
Aws::Lightsail::Model::GetBucketAccessKeysResult::GetAccessKeys
const Aws::Vector< AccessKey > & GetAccessKeys() const
Definition: GetBucketAccessKeysResult.h:39
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetBucketAccessKeysResult::GetBucketAccessKeysResult
GetBucketAccessKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)