AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartExportRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace mgn
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_MGN_API StartExportRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartExport"; }
34
35 AWS_MGN_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
43 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
44 template<typename S3BucketT = Aws::String>
45 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
46 template<typename S3BucketT = Aws::String>
47 StartExportRequest& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
49
51
54 inline const Aws::String& GetS3BucketOwner() const { return m_s3BucketOwner; }
55 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
56 template<typename S3BucketOwnerT = Aws::String>
57 void SetS3BucketOwner(S3BucketOwnerT&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::forward<S3BucketOwnerT>(value); }
58 template<typename S3BucketOwnerT = Aws::String>
59 StartExportRequest& WithS3BucketOwner(S3BucketOwnerT&& value) { SetS3BucketOwner(std::forward<S3BucketOwnerT>(value)); return *this;}
61
63
66 inline const Aws::String& GetS3Key() const { return m_s3Key; }
67 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
68 template<typename S3KeyT = Aws::String>
69 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
70 template<typename S3KeyT = Aws::String>
71 StartExportRequest& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
73 private:
74
75 Aws::String m_s3Bucket;
76 bool m_s3BucketHasBeenSet = false;
77
78 Aws::String m_s3BucketOwner;
79 bool m_s3BucketOwnerHasBeenSet = false;
80
81 Aws::String m_s3Key;
82 bool m_s3KeyHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace mgn
87} // namespace Aws
const Aws::String & GetS3BucketOwner() const
StartExportRequest & WithS3Bucket(S3BucketT &&value)
StartExportRequest & WithS3BucketOwner(S3BucketOwnerT &&value)
virtual const char * GetServiceRequestName() const override
StartExportRequest & WithS3Key(S3KeyT &&value)
const Aws::String & GetS3Bucket() const
void SetS3BucketOwner(S3BucketOwnerT &&value)
const Aws::String & GetS3Key() const
AWS_MGN_API Aws::String SerializePayload() const override
AWS_MGN_API StartExportRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String