AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImportRequest.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 <aws/mgn/model/S3BucketSource.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace mgn
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_MGN_API StartImportRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "StartImport"; }
36
37 AWS_MGN_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline StartImportRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline StartImportRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline StartImportRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
58 inline const S3BucketSource& GetS3BucketSource() const{ return m_s3BucketSource; }
59 inline bool S3BucketSourceHasBeenSet() const { return m_s3BucketSourceHasBeenSet; }
60 inline void SetS3BucketSource(const S3BucketSource& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = value; }
61 inline void SetS3BucketSource(S3BucketSource&& value) { m_s3BucketSourceHasBeenSet = true; m_s3BucketSource = std::move(value); }
62 inline StartImportRequest& WithS3BucketSource(const S3BucketSource& value) { SetS3BucketSource(value); return *this;}
63 inline StartImportRequest& WithS3BucketSource(S3BucketSource&& value) { SetS3BucketSource(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_clientToken;
68 bool m_clientTokenHasBeenSet = false;
69
70 S3BucketSource m_s3BucketSource;
71 bool m_s3BucketSourceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace mgn
76} // namespace Aws
void SetClientToken(const Aws::String &value)
StartImportRequest & WithClientToken(Aws::String &&value)
const Aws::String & GetClientToken() const
const S3BucketSource & GetS3BucketSource() const
StartImportRequest & WithClientToken(const Aws::String &value)
StartImportRequest & WithS3BucketSource(const S3BucketSource &value)
StartImportRequest & WithS3BucketSource(S3BucketSource &&value)
StartImportRequest & WithClientToken(const char *value)
AWS_MGN_API Aws::String SerializePayload() const override
void SetS3BucketSource(const S3BucketSource &value)
void SetS3BucketSource(S3BucketSource &&value)
void SetClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String