AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
46 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
47 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
48 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
49 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
50 inline SlurmAuthKey& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
51 inline SlurmAuthKey& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
52 inline SlurmAuthKey& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
54
56
59 inline const Aws::String& GetSecretVersion() const{ return m_secretVersion; }
60 inline bool SecretVersionHasBeenSet() const { return m_secretVersionHasBeenSet; }
61 inline void SetSecretVersion(const Aws::String& value) { m_secretVersionHasBeenSet = true; m_secretVersion = value; }
62 inline void SetSecretVersion(Aws::String&& value) { m_secretVersionHasBeenSet = true; m_secretVersion = std::move(value); }
63 inline void SetSecretVersion(const char* value) { m_secretVersionHasBeenSet = true; m_secretVersion.assign(value); }
64 inline SlurmAuthKey& WithSecretVersion(const Aws::String& value) { SetSecretVersion(value); return *this;}
65 inline SlurmAuthKey& WithSecretVersion(Aws::String&& value) { SetSecretVersion(std::move(value)); return *this;}
66 inline SlurmAuthKey& WithSecretVersion(const char* value) { SetSecretVersion(value); return *this;}
68 private:
69
70 Aws::String m_secretArn;
71 bool m_secretArnHasBeenSet = false;
72
73 Aws::String m_secretVersion;
74 bool m_secretVersionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace PCS
79} // namespace Aws
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
SlurmAuthKey & WithSecretArn(const Aws::String &value)
void SetSecretVersion(const char *value)
void SetSecretVersion(const Aws::String &value)
void SetSecretArn(Aws::String &&value)
SlurmAuthKey & WithSecretVersion(const char *value)
SlurmAuthKey & WithSecretArn(Aws::String &&value)
SlurmAuthKey & WithSecretArn(const char *value)
AWS_PCS_API SlurmAuthKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretVersion(Aws::String &&value)
const Aws::String & GetSecretVersion() const
AWS_PCS_API SlurmAuthKey(Aws::Utils::Json::JsonView jsonValue)
SlurmAuthKey & WithSecretVersion(Aws::String &&value)
const Aws::String & GetSecretArn() const
void SetSecretArn(const Aws::String &value)
SlurmAuthKey & WithSecretVersion(const Aws::String &value)
void SetSecretArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue