AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename S3LocationUriT = Aws::String>
47 void SetS3LocationUri(S3LocationUriT&& value) { m_s3LocationUriHasBeenSet = true; m_s3LocationUri = std::forward<S3LocationUriT>(value); }
48 template<typename S3LocationUriT = Aws::String>
49 S3ImportSource& WithS3LocationUri(S3LocationUriT&& value) { SetS3LocationUri(std::forward<S3LocationUriT>(value)); return *this;}
51
53
56 inline const Aws::String& GetS3BucketRegion() const { return m_s3BucketRegion; }
57 inline bool S3BucketRegionHasBeenSet() const { return m_s3BucketRegionHasBeenSet; }
58 template<typename S3BucketRegionT = Aws::String>
59 void SetS3BucketRegion(S3BucketRegionT&& value) { m_s3BucketRegionHasBeenSet = true; m_s3BucketRegion = std::forward<S3BucketRegionT>(value); }
60 template<typename S3BucketRegionT = Aws::String>
61 S3ImportSource& WithS3BucketRegion(S3BucketRegionT&& value) { SetS3BucketRegion(std::forward<S3BucketRegionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetS3BucketAccessRoleArn() const { return m_s3BucketAccessRoleArn; }
69 inline bool S3BucketAccessRoleArnHasBeenSet() const { return m_s3BucketAccessRoleArnHasBeenSet; }
70 template<typename S3BucketAccessRoleArnT = Aws::String>
71 void SetS3BucketAccessRoleArn(S3BucketAccessRoleArnT&& value) { m_s3BucketAccessRoleArnHasBeenSet = true; m_s3BucketAccessRoleArn = std::forward<S3BucketAccessRoleArnT>(value); }
72 template<typename S3BucketAccessRoleArnT = Aws::String>
73 S3ImportSource& WithS3BucketAccessRoleArn(S3BucketAccessRoleArnT&& value) { SetS3BucketAccessRoleArn(std::forward<S3BucketAccessRoleArnT>(value)); return *this;}
75 private:
76
77 Aws::String m_s3LocationUri;
78 bool m_s3LocationUriHasBeenSet = false;
79
80 Aws::String m_s3BucketRegion;
81 bool m_s3BucketRegionHasBeenSet = false;
82
83 Aws::String m_s3BucketAccessRoleArn;
84 bool m_s3BucketAccessRoleArnHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CloudTrail
89} // namespace Aws
AWS_CLOUDTRAIL_API S3ImportSource(Aws::Utils::Json::JsonView jsonValue)
void SetS3LocationUri(S3LocationUriT &&value)
const Aws::String & GetS3BucketRegion() const
AWS_CLOUDTRAIL_API S3ImportSource()=default
const Aws::String & GetS3LocationUri() const
const Aws::String & GetS3BucketAccessRoleArn() const
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDTRAIL_API S3ImportSource & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ImportSource & WithS3BucketRegion(S3BucketRegionT &&value)
void SetS3BucketAccessRoleArn(S3BucketAccessRoleArnT &&value)
void SetS3BucketRegion(S3BucketRegionT &&value)
S3ImportSource & WithS3BucketAccessRoleArn(S3BucketAccessRoleArnT &&value)
S3ImportSource & WithS3LocationUri(S3LocationUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue