AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
S3Config.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ForecastService {
20namespace Model {
21
32class S3Config {
33 public:
34 AWS_FORECASTSERVICE_API S3Config() = default;
35 AWS_FORECASTSERVICE_API S3Config(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FORECASTSERVICE_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::String& GetPath() const { return m_path; }
45 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
46 template <typename PathT = Aws::String>
47 void SetPath(PathT&& value) {
48 m_pathHasBeenSet = true;
49 m_path = std::forward<PathT>(value);
50 }
51 template <typename PathT = Aws::String>
52 S3Config& WithPath(PathT&& value) {
53 SetPath(std::forward<PathT>(value));
54 return *this;
55 }
57
59
67 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
68 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
69 template <typename RoleArnT = Aws::String>
70 void SetRoleArn(RoleArnT&& value) {
71 m_roleArnHasBeenSet = true;
72 m_roleArn = std::forward<RoleArnT>(value);
73 }
74 template <typename RoleArnT = Aws::String>
75 S3Config& WithRoleArn(RoleArnT&& value) {
76 SetRoleArn(std::forward<RoleArnT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetKMSKeyArn() const { return m_kMSKeyArn; }
86 inline bool KMSKeyArnHasBeenSet() const { return m_kMSKeyArnHasBeenSet; }
87 template <typename KMSKeyArnT = Aws::String>
88 void SetKMSKeyArn(KMSKeyArnT&& value) {
89 m_kMSKeyArnHasBeenSet = true;
90 m_kMSKeyArn = std::forward<KMSKeyArnT>(value);
91 }
92 template <typename KMSKeyArnT = Aws::String>
93 S3Config& WithKMSKeyArn(KMSKeyArnT&& value) {
94 SetKMSKeyArn(std::forward<KMSKeyArnT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_path;
100
101 Aws::String m_roleArn;
102
103 Aws::String m_kMSKeyArn;
104 bool m_pathHasBeenSet = false;
105 bool m_roleArnHasBeenSet = false;
106 bool m_kMSKeyArnHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace ForecastService
111} // namespace Aws
const Aws::String & GetKMSKeyArn() const
Definition S3Config.h:85
AWS_FORECASTSERVICE_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKMSKeyArn(KMSKeyArnT &&value)
Definition S3Config.h:88
S3Config & WithPath(PathT &&value)
Definition S3Config.h:52
void SetRoleArn(RoleArnT &&value)
Definition S3Config.h:70
AWS_FORECASTSERVICE_API S3Config()=default
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API S3Config(Aws::Utils::Json::JsonView jsonValue)
S3Config & WithKMSKeyArn(KMSKeyArnT &&value)
Definition S3Config.h:93
S3Config & WithRoleArn(RoleArnT &&value)
Definition S3Config.h:75
const Aws::String & GetRoleArn() const
Definition S3Config.h:67
const Aws::String & GetPath() const
Definition S3Config.h:44
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue