AWS SDK for C++  1.9.69
AWS SDK for C++
S3RecordingConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GroundStation
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetBucketArn() const{ return m_bucketArn; }
45 
49  inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
50 
54  inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; }
55 
59  inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); }
60 
64  inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); }
65 
69  inline S3RecordingConfig& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
70 
74  inline S3RecordingConfig& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
75 
79  inline S3RecordingConfig& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetPrefix() const{ return m_prefix; }
86 
90  inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
91 
95  inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
96 
100  inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
101 
105  inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
106 
110  inline S3RecordingConfig& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
111 
115  inline S3RecordingConfig& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
116 
120  inline S3RecordingConfig& WithPrefix(const char* value) { SetPrefix(value); return *this;}
121 
122 
126  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
127 
131  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
132 
136  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
137 
141  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
142 
146  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
147 
151  inline S3RecordingConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
152 
156  inline S3RecordingConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
157 
161  inline S3RecordingConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
162 
163  private:
164 
165  Aws::String m_bucketArn;
166  bool m_bucketArnHasBeenSet;
167 
168  Aws::String m_prefix;
169  bool m_prefixHasBeenSet;
170 
171  Aws::String m_roleArn;
172  bool m_roleArnHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace GroundStation
177 } // namespace Aws
Aws::GroundStation::Model::S3RecordingConfig::S3RecordingConfig
S3RecordingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::S3RecordingConfig::SetBucketArn
void SetBucketArn(Aws::String &&value)
Definition: S3RecordingConfig.h:59
Aws::GroundStation::Model::S3RecordingConfig::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: S3RecordingConfig.h:141
Aws::GroundStation::Model::S3RecordingConfig::PrefixHasBeenSet
bool PrefixHasBeenSet() const
Definition: S3RecordingConfig.h:90
Aws::GroundStation::Model::S3RecordingConfig::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: S3RecordingConfig.h:136
Aws::GroundStation::Model::S3RecordingConfig::SetPrefix
void SetPrefix(const Aws::String &value)
Definition: S3RecordingConfig.h:95
Aws::GroundStation::Model::S3RecordingConfig::SetRoleArn
void SetRoleArn(const char *value)
Definition: S3RecordingConfig.h:146
Aws::GroundStation::Model::S3RecordingConfig::GetPrefix
const Aws::String & GetPrefix() const
Definition: S3RecordingConfig.h:85
Aws::GroundStation::Model::S3RecordingConfig::WithRoleArn
S3RecordingConfig & WithRoleArn(const char *value)
Definition: S3RecordingConfig.h:161
Aws::GroundStation::Model::S3RecordingConfig::SetPrefix
void SetPrefix(const char *value)
Definition: S3RecordingConfig.h:105
Aws::GroundStation::Model::S3RecordingConfig::WithRoleArn
S3RecordingConfig & WithRoleArn(const Aws::String &value)
Definition: S3RecordingConfig.h:151
Aws::GroundStation::Model::S3RecordingConfig::WithBucketArn
S3RecordingConfig & WithBucketArn(const Aws::String &value)
Definition: S3RecordingConfig.h:69
Aws::GroundStation::Model::S3RecordingConfig::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: S3RecordingConfig.h:131
Aws::GroundStation::Model::S3RecordingConfig::SetBucketArn
void SetBucketArn(const Aws::String &value)
Definition: S3RecordingConfig.h:54
Aws::GroundStation::Model::S3RecordingConfig::BucketArnHasBeenSet
bool BucketArnHasBeenSet() const
Definition: S3RecordingConfig.h:49
Aws::GroundStation::Model::S3RecordingConfig::operator=
S3RecordingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
GroundStation_EXPORTS.h
Aws::GroundStation::Model::S3RecordingConfig::SetBucketArn
void SetBucketArn(const char *value)
Definition: S3RecordingConfig.h:64
Aws::GroundStation::Model::S3RecordingConfig::WithRoleArn
S3RecordingConfig & WithRoleArn(Aws::String &&value)
Definition: S3RecordingConfig.h:156
Aws::GroundStation::Model::S3RecordingConfig::GetBucketArn
const Aws::String & GetBucketArn() const
Definition: S3RecordingConfig.h:44
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::GroundStation::Model::S3RecordingConfig::S3RecordingConfig
S3RecordingConfig()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GroundStation::Model::S3RecordingConfig
Definition: S3RecordingConfig.h:33
Aws::GroundStation::Model::S3RecordingConfig::WithBucketArn
S3RecordingConfig & WithBucketArn(Aws::String &&value)
Definition: S3RecordingConfig.h:74
Aws::GroundStation::Model::S3RecordingConfig::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: S3RecordingConfig.h:126
Aws::GroundStation::Model::S3RecordingConfig::SetPrefix
void SetPrefix(Aws::String &&value)
Definition: S3RecordingConfig.h:100
Aws::GroundStation::Model::S3RecordingConfig::WithPrefix
S3RecordingConfig & WithPrefix(const char *value)
Definition: S3RecordingConfig.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::S3RecordingConfig::WithPrefix
S3RecordingConfig & WithPrefix(Aws::String &&value)
Definition: S3RecordingConfig.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::S3RecordingConfig::WithBucketArn
S3RecordingConfig & WithBucketArn(const char *value)
Definition: S3RecordingConfig.h:79
Aws::GroundStation::Model::S3RecordingConfig::WithPrefix
S3RecordingConfig & WithPrefix(const Aws::String &value)
Definition: S3RecordingConfig.h:110
Aws::GroundStation::Model::S3RecordingConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const