AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CustomSecretConfig.h
1
6#pragma once
7#include <aws/datasync/DataSync_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 DataSync
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_DATASYNC_API CustomSecretConfig() = default;
43 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
51 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
52 template<typename SecretArnT = Aws::String>
53 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
54 template<typename SecretArnT = Aws::String>
55 CustomSecretConfig& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
57
59
63 inline const Aws::String& GetSecretAccessRoleArn() const { return m_secretAccessRoleArn; }
64 inline bool SecretAccessRoleArnHasBeenSet() const { return m_secretAccessRoleArnHasBeenSet; }
65 template<typename SecretAccessRoleArnT = Aws::String>
66 void SetSecretAccessRoleArn(SecretAccessRoleArnT&& value) { m_secretAccessRoleArnHasBeenSet = true; m_secretAccessRoleArn = std::forward<SecretAccessRoleArnT>(value); }
67 template<typename SecretAccessRoleArnT = Aws::String>
68 CustomSecretConfig& WithSecretAccessRoleArn(SecretAccessRoleArnT&& value) { SetSecretAccessRoleArn(std::forward<SecretAccessRoleArnT>(value)); return *this;}
70 private:
71
72 Aws::String m_secretArn;
73 bool m_secretArnHasBeenSet = false;
74
75 Aws::String m_secretAccessRoleArn;
76 bool m_secretAccessRoleArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DataSync
81} // namespace Aws
void SetSecretAccessRoleArn(SecretAccessRoleArnT &&value)
CustomSecretConfig & WithSecretArn(SecretArnT &&value)
CustomSecretConfig & WithSecretAccessRoleArn(SecretAccessRoleArnT &&value)
AWS_DATASYNC_API CustomSecretConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API CustomSecretConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSecretAccessRoleArn() const
AWS_DATASYNC_API CustomSecretConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue