AWS SDK for C++  1.8.152
AWS SDK for C++
CustomerManagedChannelS3StorageSummary.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 IoTAnalytics
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetBucket() const{ return m_bucket; }
45 
49  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
50 
54  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
55 
59  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
60 
64  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
65 
69  inline CustomerManagedChannelS3StorageSummary& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
70 
74  inline CustomerManagedChannelS3StorageSummary& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
75 
79  inline CustomerManagedChannelS3StorageSummary& WithBucket(const char* value) { SetBucket(value); return *this;}
80 
81 
88  inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
89 
96  inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
97 
104  inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
105 
112  inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
113 
120  inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
121 
128  inline CustomerManagedChannelS3StorageSummary& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
129 
136  inline CustomerManagedChannelS3StorageSummary& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
137 
144  inline CustomerManagedChannelS3StorageSummary& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
145 
146 
151  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
152 
157  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
158 
163  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
164 
169  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
170 
175  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
176 
181  inline CustomerManagedChannelS3StorageSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
182 
187  inline CustomerManagedChannelS3StorageSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
188 
193  inline CustomerManagedChannelS3StorageSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
194 
195  private:
196 
197  Aws::String m_bucket;
198  bool m_bucketHasBeenSet;
199 
200  Aws::String m_keyPrefix;
201  bool m_keyPrefixHasBeenSet;
202 
203  Aws::String m_roleArn;
204  bool m_roleArnHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace IoTAnalytics
209 } // namespace Aws
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CustomerManagedChannelS3StorageSummary.h:157
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetBucket
void SetBucket(const Aws::String &value)
Definition: CustomerManagedChannelS3StorageSummary.h:54
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::GetKeyPrefix
const Aws::String & GetKeyPrefix() const
Definition: CustomerManagedChannelS3StorageSummary.h:88
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithRoleArn
CustomerManagedChannelS3StorageSummary & WithRoleArn(const Aws::String &value)
Definition: CustomerManagedChannelS3StorageSummary.h:181
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetKeyPrefix
void SetKeyPrefix(Aws::String &&value)
Definition: CustomerManagedChannelS3StorageSummary.h:112
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithBucket
CustomerManagedChannelS3StorageSummary & WithBucket(const Aws::String &value)
Definition: CustomerManagedChannelS3StorageSummary.h:69
AWS_IOTANALYTICS_API
#define AWS_IOTANALYTICS_API
Definition: IoTAnalytics_EXPORTS.h:28
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::KeyPrefixHasBeenSet
bool KeyPrefixHasBeenSet() const
Definition: CustomerManagedChannelS3StorageSummary.h:96
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CustomerManagedChannelS3StorageSummary.h:169
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithKeyPrefix
CustomerManagedChannelS3StorageSummary & WithKeyPrefix(Aws::String &&value)
Definition: CustomerManagedChannelS3StorageSummary.h:136
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::CustomerManagedChannelS3StorageSummary
CustomerManagedChannelS3StorageSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithBucket
CustomerManagedChannelS3StorageSummary & WithBucket(const char *value)
Definition: CustomerManagedChannelS3StorageSummary.h:79
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CustomerManagedChannelS3StorageSummary.h:163
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetBucket
void SetBucket(Aws::String &&value)
Definition: CustomerManagedChannelS3StorageSummary.h:59
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CustomerManagedChannelS3StorageSummary.h:151
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetKeyPrefix
void SetKeyPrefix(const Aws::String &value)
Definition: CustomerManagedChannelS3StorageSummary.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::GetBucket
const Aws::String & GetBucket() const
Definition: CustomerManagedChannelS3StorageSummary.h:44
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: CustomerManagedChannelS3StorageSummary.h:49
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithKeyPrefix
CustomerManagedChannelS3StorageSummary & WithKeyPrefix(const Aws::String &value)
Definition: CustomerManagedChannelS3StorageSummary.h:128
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithKeyPrefix
CustomerManagedChannelS3StorageSummary & WithKeyPrefix(const char *value)
Definition: CustomerManagedChannelS3StorageSummary.h:144
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithRoleArn
CustomerManagedChannelS3StorageSummary & WithRoleArn(Aws::String &&value)
Definition: CustomerManagedChannelS3StorageSummary.h:187
Aws
Definition: AccessManagementClient.h:15
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetBucket
void SetBucket(const char *value)
Definition: CustomerManagedChannelS3StorageSummary.h:64
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithBucket
CustomerManagedChannelS3StorageSummary & WithBucket(Aws::String &&value)
Definition: CustomerManagedChannelS3StorageSummary.h:74
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::WithRoleArn
CustomerManagedChannelS3StorageSummary & WithRoleArn(const char *value)
Definition: CustomerManagedChannelS3StorageSummary.h:193
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetKeyPrefix
void SetKeyPrefix(const char *value)
Definition: CustomerManagedChannelS3StorageSummary.h:120
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::SetRoleArn
void SetRoleArn(const char *value)
Definition: CustomerManagedChannelS3StorageSummary.h:175
IoTAnalytics_EXPORTS.h
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::operator=
CustomerManagedChannelS3StorageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary
Definition: CustomerManagedChannelS3StorageSummary.h:33
Aws::IoTAnalytics::Model::CustomerManagedChannelS3StorageSummary::CustomerManagedChannelS3StorageSummary
CustomerManagedChannelS3StorageSummary()