AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
45 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
46 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
47 inline StartExportRequest& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
48 inline StartExportRequest& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
49 inline StartExportRequest& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
51
53
56 inline const Aws::String& GetS3BucketOwner() const{ return m_s3BucketOwner; }
57 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
58 inline void SetS3BucketOwner(const Aws::String& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = value; }
59 inline void SetS3BucketOwner(Aws::String&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::move(value); }
60 inline void SetS3BucketOwner(const char* value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner.assign(value); }
61 inline StartExportRequest& WithS3BucketOwner(const Aws::String& value) { SetS3BucketOwner(value); return *this;}
62 inline StartExportRequest& WithS3BucketOwner(Aws::String&& value) { SetS3BucketOwner(std::move(value)); return *this;}
63 inline StartExportRequest& WithS3BucketOwner(const char* value) { SetS3BucketOwner(value); return *this;}
65
67
70 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
71 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
72 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
73 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
74 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
75 inline StartExportRequest& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
76 inline StartExportRequest& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
77 inline StartExportRequest& WithS3Key(const char* value) { SetS3Key(value); return *this;}
79 private:
80
81 Aws::String m_s3Bucket;
82 bool m_s3BucketHasBeenSet = false;
83
84 Aws::String m_s3BucketOwner;
85 bool m_s3BucketOwnerHasBeenSet = false;
86
87 Aws::String m_s3Key;
88 bool m_s3KeyHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace mgn
93} // namespace Aws
const Aws::String & GetS3BucketOwner() const
void SetS3BucketOwner(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetS3Bucket(Aws::String &&value)
const Aws::String & GetS3Bucket() const
StartExportRequest & WithS3Key(const char *value)
StartExportRequest & WithS3Bucket(Aws::String &&value)
StartExportRequest & WithS3Bucket(const Aws::String &value)
StartExportRequest & WithS3Key(const Aws::String &value)
void SetS3Bucket(const Aws::String &value)
void SetS3Key(const Aws::String &value)
StartExportRequest & WithS3BucketOwner(const Aws::String &value)
StartExportRequest & WithS3Bucket(const char *value)
StartExportRequest & WithS3Key(Aws::String &&value)
const Aws::String & GetS3Key() const
StartExportRequest & WithS3BucketOwner(const char *value)
void SetS3BucketOwner(const char *value)
StartExportRequest & WithS3BucketOwner(Aws::String &&value)
AWS_MGN_API Aws::String SerializePayload() const override
void SetS3BucketOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String