AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomerManagedS3Storage.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_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 IoTSiteWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTSITEWISE_API CustomerManagedS3Storage();
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetS3ResourceArn() const{ return m_s3ResourceArn; }
51 inline bool S3ResourceArnHasBeenSet() const { return m_s3ResourceArnHasBeenSet; }
52 inline void SetS3ResourceArn(const Aws::String& value) { m_s3ResourceArnHasBeenSet = true; m_s3ResourceArn = value; }
53 inline void SetS3ResourceArn(Aws::String&& value) { m_s3ResourceArnHasBeenSet = true; m_s3ResourceArn = std::move(value); }
54 inline void SetS3ResourceArn(const char* value) { m_s3ResourceArnHasBeenSet = true; m_s3ResourceArn.assign(value); }
55 inline CustomerManagedS3Storage& WithS3ResourceArn(const Aws::String& value) { SetS3ResourceArn(value); return *this;}
56 inline CustomerManagedS3Storage& WithS3ResourceArn(Aws::String&& value) { SetS3ResourceArn(std::move(value)); return *this;}
57 inline CustomerManagedS3Storage& WithS3ResourceArn(const char* value) { SetS3ResourceArn(value); return *this;}
59
61
67 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
68 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
69 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
70 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
71 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
72 inline CustomerManagedS3Storage& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
73 inline CustomerManagedS3Storage& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
74 inline CustomerManagedS3Storage& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
76 private:
77
78 Aws::String m_s3ResourceArn;
79 bool m_s3ResourceArnHasBeenSet = false;
80
81 Aws::String m_roleArn;
82 bool m_roleArnHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace IoTSiteWise
87} // namespace Aws
CustomerManagedS3Storage & WithRoleArn(Aws::String &&value)
AWS_IOTSITEWISE_API CustomerManagedS3Storage & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedS3Storage & WithS3ResourceArn(const char *value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerManagedS3Storage & WithRoleArn(const Aws::String &value)
CustomerManagedS3Storage & WithRoleArn(const char *value)
CustomerManagedS3Storage & WithS3ResourceArn(const Aws::String &value)
AWS_IOTSITEWISE_API CustomerManagedS3Storage(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedS3Storage & WithS3ResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue