AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3RecordingConfig.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_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 GroundStation
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GROUNDSTATION_API S3RecordingConfig();
36 AWS_GROUNDSTATION_API S3RecordingConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API S3RecordingConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucketArn() const{ return m_bucketArn; }
46 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
47 inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; }
48 inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); }
49 inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); }
50 inline S3RecordingConfig& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
51 inline S3RecordingConfig& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
52 inline S3RecordingConfig& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
54
56
59 inline const Aws::String& GetPrefix() const{ return m_prefix; }
60 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
61 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
62 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
63 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
64 inline S3RecordingConfig& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
65 inline S3RecordingConfig& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
66 inline S3RecordingConfig& WithPrefix(const char* value) { SetPrefix(value); return *this;}
68
70
73 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
74 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
75 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
76 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
77 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
78 inline S3RecordingConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
79 inline S3RecordingConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
80 inline S3RecordingConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
82 private:
83
84 Aws::String m_bucketArn;
85 bool m_bucketArnHasBeenSet = false;
86
87 Aws::String m_prefix;
88 bool m_prefixHasBeenSet = false;
89
90 Aws::String m_roleArn;
91 bool m_roleArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace GroundStation
96} // namespace Aws
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
S3RecordingConfig & WithBucketArn(const char *value)
AWS_GROUNDSTATION_API S3RecordingConfig(Aws::Utils::Json::JsonView jsonValue)
S3RecordingConfig & WithRoleArn(Aws::String &&value)
AWS_GROUNDSTATION_API S3RecordingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
S3RecordingConfig & WithPrefix(Aws::String &&value)
S3RecordingConfig & WithRoleArn(const char *value)
S3RecordingConfig & WithBucketArn(const Aws::String &value)
S3RecordingConfig & WithRoleArn(const Aws::String &value)
S3RecordingConfig & WithBucketArn(Aws::String &&value)
S3RecordingConfig & WithPrefix(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
void SetBucketArn(const Aws::String &value)
S3RecordingConfig & WithPrefix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue