AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3ImportSource.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudTrail
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDTRAIL_API S3ImportSource();
35 AWS_CLOUDTRAIL_API S3ImportSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDTRAIL_API S3ImportSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetS3LocationUri() const{ return m_s3LocationUri; }
45 inline bool S3LocationUriHasBeenSet() const { return m_s3LocationUriHasBeenSet; }
46 inline void SetS3LocationUri(const Aws::String& value) { m_s3LocationUriHasBeenSet = true; m_s3LocationUri = value; }
47 inline void SetS3LocationUri(Aws::String&& value) { m_s3LocationUriHasBeenSet = true; m_s3LocationUri = std::move(value); }
48 inline void SetS3LocationUri(const char* value) { m_s3LocationUriHasBeenSet = true; m_s3LocationUri.assign(value); }
49 inline S3ImportSource& WithS3LocationUri(const Aws::String& value) { SetS3LocationUri(value); return *this;}
50 inline S3ImportSource& WithS3LocationUri(Aws::String&& value) { SetS3LocationUri(std::move(value)); return *this;}
51 inline S3ImportSource& WithS3LocationUri(const char* value) { SetS3LocationUri(value); return *this;}
53
55
58 inline const Aws::String& GetS3BucketRegion() const{ return m_s3BucketRegion; }
59 inline bool S3BucketRegionHasBeenSet() const { return m_s3BucketRegionHasBeenSet; }
60 inline void SetS3BucketRegion(const Aws::String& value) { m_s3BucketRegionHasBeenSet = true; m_s3BucketRegion = value; }
61 inline void SetS3BucketRegion(Aws::String&& value) { m_s3BucketRegionHasBeenSet = true; m_s3BucketRegion = std::move(value); }
62 inline void SetS3BucketRegion(const char* value) { m_s3BucketRegionHasBeenSet = true; m_s3BucketRegion.assign(value); }
63 inline S3ImportSource& WithS3BucketRegion(const Aws::String& value) { SetS3BucketRegion(value); return *this;}
64 inline S3ImportSource& WithS3BucketRegion(Aws::String&& value) { SetS3BucketRegion(std::move(value)); return *this;}
65 inline S3ImportSource& WithS3BucketRegion(const char* value) { SetS3BucketRegion(value); return *this;}
67
69
72 inline const Aws::String& GetS3BucketAccessRoleArn() const{ return m_s3BucketAccessRoleArn; }
73 inline bool S3BucketAccessRoleArnHasBeenSet() const { return m_s3BucketAccessRoleArnHasBeenSet; }
74 inline void SetS3BucketAccessRoleArn(const Aws::String& value) { m_s3BucketAccessRoleArnHasBeenSet = true; m_s3BucketAccessRoleArn = value; }
75 inline void SetS3BucketAccessRoleArn(Aws::String&& value) { m_s3BucketAccessRoleArnHasBeenSet = true; m_s3BucketAccessRoleArn = std::move(value); }
76 inline void SetS3BucketAccessRoleArn(const char* value) { m_s3BucketAccessRoleArnHasBeenSet = true; m_s3BucketAccessRoleArn.assign(value); }
78 inline S3ImportSource& WithS3BucketAccessRoleArn(Aws::String&& value) { SetS3BucketAccessRoleArn(std::move(value)); return *this;}
79 inline S3ImportSource& WithS3BucketAccessRoleArn(const char* value) { SetS3BucketAccessRoleArn(value); return *this;}
81 private:
82
83 Aws::String m_s3LocationUri;
84 bool m_s3LocationUriHasBeenSet = false;
85
86 Aws::String m_s3BucketRegion;
87 bool m_s3BucketRegionHasBeenSet = false;
88
89 Aws::String m_s3BucketAccessRoleArn;
90 bool m_s3BucketAccessRoleArnHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CloudTrail
95} // namespace Aws
S3ImportSource & WithS3BucketRegion(const char *value)
AWS_CLOUDTRAIL_API S3ImportSource(Aws::Utils::Json::JsonView jsonValue)
S3ImportSource & WithS3BucketAccessRoleArn(const char *value)
S3ImportSource & WithS3LocationUri(const Aws::String &value)
void SetS3LocationUri(const Aws::String &value)
const Aws::String & GetS3BucketRegion() const
const Aws::String & GetS3LocationUri() const
const Aws::String & GetS3BucketAccessRoleArn() const
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
S3ImportSource & WithS3LocationUri(const char *value)
void SetS3BucketAccessRoleArn(Aws::String &&value)
void SetS3LocationUri(const char *value)
S3ImportSource & WithS3BucketAccessRoleArn(Aws::String &&value)
AWS_CLOUDTRAIL_API S3ImportSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ImportSource & WithS3BucketAccessRoleArn(const Aws::String &value)
void SetS3BucketAccessRoleArn(const char *value)
void SetS3LocationUri(Aws::String &&value)
S3ImportSource & WithS3LocationUri(Aws::String &&value)
S3ImportSource & WithS3BucketRegion(Aws::String &&value)
void SetS3BucketAccessRoleArn(const Aws::String &value)
void SetS3BucketRegion(Aws::String &&value)
S3ImportSource & WithS3BucketRegion(const Aws::String &value)
void SetS3BucketRegion(const char *value)
void SetS3BucketRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue