7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/Bucket.h>
11#include <aws/lightsail/model/Operation.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename BucketT = Bucket>
39 m_bucketHasBeenSet =
true;
40 m_bucket = std::forward<BucketT>(value);
42 template <
typename BucketT = Bucket>
56 template <
typename OperationsT = Aws::Vector<Operation>>
58 m_operationsHasBeenSet =
true;
59 m_operations = std::forward<OperationsT>(value);
61 template <
typename OperationsT = Aws::Vector<Operation>>
66 template <
typename OperationsT = Operation>
68 m_operationsHasBeenSet =
true;
69 m_operations.emplace_back(std::forward<OperationsT>(value));
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
94 bool m_bucketHasBeenSet =
false;
95 bool m_operationsHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
CreateBucketResult & AddOperations(OperationsT &&value)
CreateBucketResult & WithRequestId(RequestIdT &&value)
void SetBucket(BucketT &&value)
AWS_LIGHTSAIL_API CreateBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API CreateBucketResult()=default
CreateBucketResult & WithOperations(OperationsT &&value)
const Aws::Vector< Operation > & GetOperations() const
const Aws::String & GetRequestId() const
AWS_LIGHTSAIL_API CreateBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOperations(OperationsT &&value)
const Bucket & GetBucket() const
void SetRequestId(RequestIdT &&value)
CreateBucketResult & WithBucket(BucketT &&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