AWS SDK for C++  1.9.102
AWS SDK for C++
S3DataConfig.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 Personalize
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetPath() const{ return m_path; }
45 
49  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
50 
54  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
55 
59  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
60 
64  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
65 
69  inline S3DataConfig& WithPath(const Aws::String& value) { SetPath(value); return *this;}
70 
74  inline S3DataConfig& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
75 
79  inline S3DataConfig& WithPath(const char* value) { SetPath(value); return *this;}
80 
81 
87  inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
88 
94  inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
95 
101  inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
102 
108  inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
109 
115  inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
116 
122  inline S3DataConfig& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
123 
129  inline S3DataConfig& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
130 
136  inline S3DataConfig& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
137 
138  private:
139 
140  Aws::String m_path;
141  bool m_pathHasBeenSet;
142 
143  Aws::String m_kmsKeyArn;
144  bool m_kmsKeyArnHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace Personalize
149 } // namespace Aws
Aws::Personalize::Model::S3DataConfig::SetKmsKeyArn
void SetKmsKeyArn(const char *value)
Definition: S3DataConfig.h:115
Aws::Personalize::Model::S3DataConfig::SetKmsKeyArn
void SetKmsKeyArn(const Aws::String &value)
Definition: S3DataConfig.h:101
Aws::Personalize::Model::S3DataConfig::GetPath
const Aws::String & GetPath() const
Definition: S3DataConfig.h:44
Aws::Personalize::Model::S3DataConfig::SetPath
void SetPath(const Aws::String &value)
Definition: S3DataConfig.h:54
Aws::Personalize::Model::S3DataConfig::GetKmsKeyArn
const Aws::String & GetKmsKeyArn() const
Definition: S3DataConfig.h:87
Aws::Personalize::Model::S3DataConfig
Definition: S3DataConfig.h:33
Aws::Personalize::Model::S3DataConfig::SetPath
void SetPath(const char *value)
Definition: S3DataConfig.h:64
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::S3DataConfig::SetPath
void SetPath(Aws::String &&value)
Definition: S3DataConfig.h:59
Aws::Personalize::Model::S3DataConfig::S3DataConfig
S3DataConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::S3DataConfig::S3DataConfig
S3DataConfig()
Aws::Personalize::Model::S3DataConfig::WithPath
S3DataConfig & WithPath(const Aws::String &value)
Definition: S3DataConfig.h:69
Aws::Personalize::Model::S3DataConfig::operator=
S3DataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::S3DataConfig::WithPath
S3DataConfig & WithPath(Aws::String &&value)
Definition: S3DataConfig.h:74
Aws::Personalize::Model::S3DataConfig::KmsKeyArnHasBeenSet
bool KmsKeyArnHasBeenSet() const
Definition: S3DataConfig.h:94
Aws::Personalize::Model::S3DataConfig::WithKmsKeyArn
S3DataConfig & WithKmsKeyArn(const char *value)
Definition: S3DataConfig.h:136
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Personalize::Model::S3DataConfig::WithKmsKeyArn
S3DataConfig & WithKmsKeyArn(const Aws::String &value)
Definition: S3DataConfig.h:122
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::S3DataConfig::PathHasBeenSet
bool PathHasBeenSet() const
Definition: S3DataConfig.h:49
Aws::Personalize::Model::S3DataConfig::WithKmsKeyArn
S3DataConfig & WithKmsKeyArn(Aws::String &&value)
Definition: S3DataConfig.h:129
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::S3DataConfig::WithPath
S3DataConfig & WithPath(const char *value)
Definition: S3DataConfig.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::S3DataConfig::SetKmsKeyArn
void SetKmsKeyArn(Aws::String &&value)
Definition: S3DataConfig.h:108
Personalize_EXPORTS.h
Aws::Personalize::Model::S3DataConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const