AWS SDK for C++  1.9.160
AWS SDK for C++
CustomerManagedS3Storage.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 IoTSiteWise
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
49  inline const Aws::String& GetS3ResourceArn() const{ return m_s3ResourceArn; }
50 
59  inline bool S3ResourceArnHasBeenSet() const { return m_s3ResourceArnHasBeenSet; }
60 
69  inline void SetS3ResourceArn(const Aws::String& value) { m_s3ResourceArnHasBeenSet = true; m_s3ResourceArn = value; }
70 
79  inline void SetS3ResourceArn(Aws::String&& value) { m_s3ResourceArnHasBeenSet = true; m_s3ResourceArn = std::move(value); }
80 
89  inline void SetS3ResourceArn(const char* value) { m_s3ResourceArnHasBeenSet = true; m_s3ResourceArn.assign(value); }
90 
99  inline CustomerManagedS3Storage& WithS3ResourceArn(const Aws::String& value) { SetS3ResourceArn(value); return *this;}
100 
109  inline CustomerManagedS3Storage& WithS3ResourceArn(Aws::String&& value) { SetS3ResourceArn(std::move(value)); return *this;}
110 
119  inline CustomerManagedS3Storage& WithS3ResourceArn(const char* value) { SetS3ResourceArn(value); return *this;}
120 
121 
128  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
129 
136  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
137 
144  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
145 
152  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
153 
160  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
161 
168  inline CustomerManagedS3Storage& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
169 
176  inline CustomerManagedS3Storage& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
177 
184  inline CustomerManagedS3Storage& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
185 
186  private:
187 
188  Aws::String m_s3ResourceArn;
189  bool m_s3ResourceArnHasBeenSet;
190 
191  Aws::String m_roleArn;
192  bool m_roleArnHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace IoTSiteWise
197 } // namespace Aws
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::CustomerManagedS3Storage
CustomerManagedS3Storage()
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::WithS3ResourceArn
CustomerManagedS3Storage & WithS3ResourceArn(Aws::String &&value)
Definition: CustomerManagedS3Storage.h:109
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::SetS3ResourceArn
void SetS3ResourceArn(Aws::String &&value)
Definition: CustomerManagedS3Storage.h:79
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::WithRoleArn
CustomerManagedS3Storage & WithRoleArn(Aws::String &&value)
Definition: CustomerManagedS3Storage.h:176
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CustomerManagedS3Storage.h:152
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::CustomerManagedS3Storage
Definition: CustomerManagedS3Storage.h:33
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::WithS3ResourceArn
CustomerManagedS3Storage & WithS3ResourceArn(const Aws::String &value)
Definition: CustomerManagedS3Storage.h:99
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::WithRoleArn
CustomerManagedS3Storage & WithRoleArn(const char *value)
Definition: CustomerManagedS3Storage.h:184
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::GetS3ResourceArn
const Aws::String & GetS3ResourceArn() const
Definition: CustomerManagedS3Storage.h:49
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::CustomerManagedS3Storage
CustomerManagedS3Storage(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CustomerManagedS3Storage.h:128
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::SetS3ResourceArn
void SetS3ResourceArn(const char *value)
Definition: CustomerManagedS3Storage.h:89
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::WithS3ResourceArn
CustomerManagedS3Storage & WithS3ResourceArn(const char *value)
Definition: CustomerManagedS3Storage.h:119
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::operator=
CustomerManagedS3Storage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CustomerManagedS3Storage.h:144
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::S3ResourceArnHasBeenSet
bool S3ResourceArnHasBeenSet() const
Definition: CustomerManagedS3Storage.h:59
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CustomerManagedS3Storage.h:136
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::WithRoleArn
CustomerManagedS3Storage & WithRoleArn(const Aws::String &value)
Definition: CustomerManagedS3Storage.h:168
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::SetRoleArn
void SetRoleArn(const char *value)
Definition: CustomerManagedS3Storage.h:160
Aws::IoTSiteWise::Model::CustomerManagedS3Storage::SetS3ResourceArn
void SetS3ResourceArn(const Aws::String &value)
Definition: CustomerManagedS3Storage.h:69