AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SlurmAuthKey.h
1
6#pragma once
7#include <aws/pcs/PCS_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 PCS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PCS_API SlurmAuthKey() = default;
39
40
42
45 inline const Aws::String& GetSecretArn() const { return m_secretArn; }
46 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
47 template<typename SecretArnT = Aws::String>
48 void SetSecretArn(SecretArnT&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::forward<SecretArnT>(value); }
49 template<typename SecretArnT = Aws::String>
50 SlurmAuthKey& WithSecretArn(SecretArnT&& value) { SetSecretArn(std::forward<SecretArnT>(value)); return *this;}
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) { m_secretVersionHasBeenSet = true; m_secretVersion = std::forward<SecretVersionT>(value); }
61 template<typename SecretVersionT = Aws::String>
62 SlurmAuthKey& WithSecretVersion(SecretVersionT&& value) { SetSecretVersion(std::forward<SecretVersionT>(value)); return *this;}
64 private:
65
66 Aws::String m_secretArn;
67 bool m_secretArnHasBeenSet = false;
68
69 Aws::String m_secretVersion;
70 bool m_secretVersionHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace PCS
75} // 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