AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketsResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/AccountLevelBpaSync.h>
11#include <aws/lightsail/model/Bucket.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Lightsail
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LIGHTSAIL_API GetBucketsResult();
36
37
39
42 inline const Aws::Vector<Bucket>& GetBuckets() const{ return m_buckets; }
43 inline void SetBuckets(const Aws::Vector<Bucket>& value) { m_buckets = value; }
44 inline void SetBuckets(Aws::Vector<Bucket>&& value) { m_buckets = std::move(value); }
45 inline GetBucketsResult& WithBuckets(const Aws::Vector<Bucket>& value) { SetBuckets(value); return *this;}
46 inline GetBucketsResult& WithBuckets(Aws::Vector<Bucket>&& value) { SetBuckets(std::move(value)); return *this;}
47 inline GetBucketsResult& AddBuckets(const Bucket& value) { m_buckets.push_back(value); return *this; }
48 inline GetBucketsResult& AddBuckets(Bucket&& value) { m_buckets.push_back(std::move(value)); return *this; }
50
52
59 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
60 inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
61 inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
62 inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
63 inline GetBucketsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
64 inline GetBucketsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
65 inline GetBucketsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
67
69
76 inline const AccountLevelBpaSync& GetAccountLevelBpaSync() const{ return m_accountLevelBpaSync; }
77 inline void SetAccountLevelBpaSync(const AccountLevelBpaSync& value) { m_accountLevelBpaSync = value; }
78 inline void SetAccountLevelBpaSync(AccountLevelBpaSync&& value) { m_accountLevelBpaSync = std::move(value); }
80 inline GetBucketsResult& WithAccountLevelBpaSync(AccountLevelBpaSync&& value) { SetAccountLevelBpaSync(std::move(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline GetBucketsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline GetBucketsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline GetBucketsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::Vector<Bucket> m_buckets;
96
97 Aws::String m_nextPageToken;
98
99 AccountLevelBpaSync m_accountLevelBpaSync;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace Lightsail
106} // namespace Aws
void SetRequestId(const Aws::String &value)
GetBucketsResult & WithNextPageToken(Aws::String &&value)
GetBucketsResult & WithRequestId(const Aws::String &value)
void SetBuckets(const Aws::Vector< Bucket > &value)
void SetAccountLevelBpaSync(const AccountLevelBpaSync &value)
void SetBuckets(Aws::Vector< Bucket > &&value)
GetBucketsResult & WithAccountLevelBpaSync(const AccountLevelBpaSync &value)
GetBucketsResult & AddBuckets(const Bucket &value)
const Aws::String & GetNextPageToken() const
GetBucketsResult & WithNextPageToken(const char *value)
const Aws::Vector< Bucket > & GetBuckets() const
AWS_LIGHTSAIL_API GetBucketsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBucketsResult & WithRequestId(Aws::String &&value)
GetBucketsResult & WithBuckets(const Aws::Vector< Bucket > &value)
GetBucketsResult & WithAccountLevelBpaSync(AccountLevelBpaSync &&value)
const Aws::String & GetRequestId() const
void SetNextPageToken(Aws::String &&value)
void SetNextPageToken(const Aws::String &value)
GetBucketsResult & WithRequestId(const char *value)
GetBucketsResult & WithBuckets(Aws::Vector< Bucket > &&value)
void SetAccountLevelBpaSync(AccountLevelBpaSync &&value)
AWS_LIGHTSAIL_API GetBucketsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const AccountLevelBpaSync & GetAccountLevelBpaSync() const
GetBucketsResult & AddBuckets(Bucket &&value)
GetBucketsResult & WithNextPageToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue