AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportSource.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/S3ImportSource.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 ImportSource();
35 AWS_CLOUDTRAIL_API ImportSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDTRAIL_API ImportSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const S3ImportSource& GetS3() const{ return m_s3; }
45 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
46 inline void SetS3(const S3ImportSource& value) { m_s3HasBeenSet = true; m_s3 = value; }
47 inline void SetS3(S3ImportSource&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
48 inline ImportSource& WithS3(const S3ImportSource& value) { SetS3(value); return *this;}
49 inline ImportSource& WithS3(S3ImportSource&& value) { SetS3(std::move(value)); return *this;}
51 private:
52
53 S3ImportSource m_s3;
54 bool m_s3HasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace CloudTrail
59} // namespace Aws
ImportSource & WithS3(S3ImportSource &&value)
AWS_CLOUDTRAIL_API ImportSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3(S3ImportSource &&value)
AWS_CLOUDTRAIL_API ImportSource(Aws::Utils::Json::JsonView jsonValue)
const S3ImportSource & GetS3() const
void SetS3(const S3ImportSource &value)
ImportSource & WithS3(const S3ImportSource &value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue