AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SlurmAuthKey.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pcs/PCS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PCS {
20namespace Model {
21
29 public:
30 AWS_PCS_API SlurmAuthKey() = default;
34
36
39 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
40 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
41 template <typename SecretArnT = Aws::String>
42 void SetSecretArn(SecretArnT&& value) {
43 m_secretArnHasBeenSet = true;
44 m_secretArn = std::forward<SecretArnT>(value);
45 }
46 template <typename SecretArnT = Aws::String>
47 SlurmAuthKey& WithSecretArn(SecretArnT&& value) {
48 SetSecretArn(std::forward<SecretArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSecretVersion() const { return m_secretVersion; }
58 inline bool SecretVersionHasBeenSet() const { return m_secretVersionHasBeenSet; }
59 template <typename SecretVersionT = Aws::String>
60 void SetSecretVersion(SecretVersionT&& value) {
61 m_secretVersionHasBeenSet = true;
62 m_secretVersion = std::forward<SecretVersionT>(value);
63 }
64 template <typename SecretVersionT = Aws::String>
65 SlurmAuthKey& WithSecretVersion(SecretVersionT&& value) {
66 SetSecretVersion(std::forward<SecretVersionT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_secretArn;
72
73 Aws::String m_secretVersion;
74 bool m_secretArnHasBeenSet = false;
75 bool m_secretVersionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace PCS
80} // namespace Aws
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PCS_API SlurmAuthKey & operator=(Aws::Utils::Json::JsonView jsonValue)
SlurmAuthKey & WithSecretVersion(SecretVersionT &&value)
const Aws::String & GetSecretVersion() const
void SetSecretArn(SecretArnT &&value)
void SetSecretVersion(SecretVersionT &&value)
AWS_PCS_API SlurmAuthKey(Aws::Utils::Json::JsonView jsonValue)
AWS_PCS_API SlurmAuthKey()=default
const Aws::String & GetSecretArn() const
SlurmAuthKey & WithSecretArn(SecretArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue