AWS SDK for C++  1.9.104
AWS SDK for C++
GetBucketBundlesResult.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<BucketBundle>& GetBundles() const{ return m_bundles; }
40 
44  inline void SetBundles(const Aws::Vector<BucketBundle>& value) { m_bundles = value; }
45 
49  inline void SetBundles(Aws::Vector<BucketBundle>&& value) { m_bundles = std::move(value); }
50 
54  inline GetBucketBundlesResult& WithBundles(const Aws::Vector<BucketBundle>& value) { SetBundles(value); return *this;}
55 
59  inline GetBucketBundlesResult& WithBundles(Aws::Vector<BucketBundle>&& value) { SetBundles(std::move(value)); return *this;}
60 
64  inline GetBucketBundlesResult& AddBundles(const BucketBundle& value) { m_bundles.push_back(value); return *this; }
65 
69  inline GetBucketBundlesResult& AddBundles(BucketBundle&& value) { m_bundles.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<BucketBundle> m_bundles;
74  };
75 
76 } // namespace Model
77 } // namespace Lightsail
78 } // namespace Aws
Aws::Lightsail::Model::GetBucketBundlesResult
Definition: GetBucketBundlesResult.h:29
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetBucketBundlesResult::AddBundles
GetBucketBundlesResult & AddBundles(BucketBundle &&value)
Definition: GetBucketBundlesResult.h:69
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lightsail::Model::BucketBundle
Definition: BucketBundle.h:34
Aws::Lightsail::Model::GetBucketBundlesResult::GetBucketBundlesResult
GetBucketBundlesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BucketBundle.h
Aws::Lightsail::Model::GetBucketBundlesResult::GetBucketBundlesResult
GetBucketBundlesResult()
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetBucketBundlesResult::AddBundles
GetBucketBundlesResult & AddBundles(const BucketBundle &value)
Definition: GetBucketBundlesResult.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetBucketBundlesResult::SetBundles
void SetBundles(Aws::Vector< BucketBundle > &&value)
Definition: GetBucketBundlesResult.h:49
Aws::Lightsail::Model::GetBucketBundlesResult::SetBundles
void SetBundles(const Aws::Vector< BucketBundle > &value)
Definition: GetBucketBundlesResult.h:44
Aws::Lightsail::Model::GetBucketBundlesResult::WithBundles
GetBucketBundlesResult & WithBundles(Aws::Vector< BucketBundle > &&value)
Definition: GetBucketBundlesResult.h:59
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetBucketBundlesResult::WithBundles
GetBucketBundlesResult & WithBundles(const Aws::Vector< BucketBundle > &value)
Definition: GetBucketBundlesResult.h:54
Aws::Lightsail::Model::GetBucketBundlesResult::operator=
GetBucketBundlesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetBucketBundlesResult::GetBundles
const Aws::Vector< BucketBundle > & GetBundles() const
Definition: GetBucketBundlesResult.h:39