AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBucketResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/Bucket.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lightsail/model/Operation.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 UpdateBucketResult();
36
37
39
42 inline const Bucket& GetBucket() const{ return m_bucket; }
43 inline void SetBucket(const Bucket& value) { m_bucket = value; }
44 inline void SetBucket(Bucket&& value) { m_bucket = std::move(value); }
45 inline UpdateBucketResult& WithBucket(const Bucket& value) { SetBucket(value); return *this;}
46 inline UpdateBucketResult& WithBucket(Bucket&& value) { SetBucket(std::move(value)); return *this;}
48
50
55 inline const Aws::Vector<Operation>& GetOperations() const{ return m_operations; }
56 inline void SetOperations(const Aws::Vector<Operation>& value) { m_operations = value; }
57 inline void SetOperations(Aws::Vector<Operation>&& value) { m_operations = std::move(value); }
58 inline UpdateBucketResult& WithOperations(const Aws::Vector<Operation>& value) { SetOperations(value); return *this;}
59 inline UpdateBucketResult& WithOperations(Aws::Vector<Operation>&& value) { SetOperations(std::move(value)); return *this;}
60 inline UpdateBucketResult& AddOperations(const Operation& value) { m_operations.push_back(value); return *this; }
61 inline UpdateBucketResult& AddOperations(Operation&& value) { m_operations.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline UpdateBucketResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline UpdateBucketResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline UpdateBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Bucket m_bucket;
77
78 Aws::Vector<Operation> m_operations;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Lightsail
85} // namespace Aws
UpdateBucketResult & WithBucket(Bucket &&value)
const Aws::Vector< Operation > & GetOperations() const
AWS_LIGHTSAIL_API UpdateBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOperations(Aws::Vector< Operation > &&value)
UpdateBucketResult & WithRequestId(const char *value)
AWS_LIGHTSAIL_API UpdateBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBucketResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
UpdateBucketResult & AddOperations(const Operation &value)
UpdateBucketResult & WithOperations(Aws::Vector< Operation > &&value)
UpdateBucketResult & WithOperations(const Aws::Vector< Operation > &value)
UpdateBucketResult & WithRequestId(const Aws::String &value)
UpdateBucketResult & AddOperations(Operation &&value)
UpdateBucketResult & WithBucket(const Bucket &value)
void SetOperations(const Aws::Vector< Operation > &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