AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MasterUserSecret.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_RDS_API MasterUserSecret();
42 AWS_RDS_API MasterUserSecret(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
53 inline const Aws::String& GetSecretArn() const{ return m_secretArn; }
54 inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; }
55 inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; }
56 inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); }
57 inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); }
58 inline MasterUserSecret& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;}
59 inline MasterUserSecret& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;}
60 inline MasterUserSecret& WithSecretArn(const char* value) { SetSecretArn(value); return *this;}
62
64
78 inline const Aws::String& GetSecretStatus() const{ return m_secretStatus; }
79 inline bool SecretStatusHasBeenSet() const { return m_secretStatusHasBeenSet; }
80 inline void SetSecretStatus(const Aws::String& value) { m_secretStatusHasBeenSet = true; m_secretStatus = value; }
81 inline void SetSecretStatus(Aws::String&& value) { m_secretStatusHasBeenSet = true; m_secretStatus = std::move(value); }
82 inline void SetSecretStatus(const char* value) { m_secretStatusHasBeenSet = true; m_secretStatus.assign(value); }
83 inline MasterUserSecret& WithSecretStatus(const Aws::String& value) { SetSecretStatus(value); return *this;}
84 inline MasterUserSecret& WithSecretStatus(Aws::String&& value) { SetSecretStatus(std::move(value)); return *this;}
85 inline MasterUserSecret& WithSecretStatus(const char* value) { SetSecretStatus(value); return *this;}
87
89
93 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
94 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
95 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
96 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
97 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
98 inline MasterUserSecret& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
99 inline MasterUserSecret& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
100 inline MasterUserSecret& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
102 private:
103
104 Aws::String m_secretArn;
105 bool m_secretArnHasBeenSet = false;
106
107 Aws::String m_secretStatus;
108 bool m_secretStatusHasBeenSet = false;
109
110 Aws::String m_kmsKeyId;
111 bool m_kmsKeyIdHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace RDS
116} // namespace Aws
AWS_RDS_API MasterUserSecret & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MasterUserSecret & WithKmsKeyId(Aws::String &&value)
void SetSecretArn(Aws::String &&value)
MasterUserSecret & WithSecretStatus(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MasterUserSecret & WithSecretArn(const char *value)
MasterUserSecret & WithSecretArn(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
MasterUserSecret & WithKmsKeyId(const char *value)
MasterUserSecret & WithSecretStatus(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
void SetSecretStatus(const Aws::String &value)
void SetSecretArn(const Aws::String &value)
void SetSecretStatus(Aws::String &&value)
MasterUserSecret & WithSecretArn(Aws::String &&value)
const Aws::String & GetSecretArn() const
void SetSecretArn(const char *value)
const Aws::String & GetSecretStatus() const
AWS_RDS_API MasterUserSecret(const Aws::Utils::Xml::XmlNode &xmlNode)
MasterUserSecret & WithKmsKeyId(const Aws::String &value)
void SetSecretStatus(const char *value)
MasterUserSecret & WithSecretStatus(const char *value)
const Aws::String & GetKmsKeyId() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream