AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSecretResult.h
1
6#pragma once
7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/secretsmanager/model/ReplicationStatusType.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SecretsManager
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SECRETSMANAGER_API CreateSecretResult();
35
36
38
44 inline const Aws::String& GetARN() const{ return m_aRN; }
45 inline void SetARN(const Aws::String& value) { m_aRN = value; }
46 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
47 inline void SetARN(const char* value) { m_aRN.assign(value); }
48 inline CreateSecretResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
49 inline CreateSecretResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
50 inline CreateSecretResult& WithARN(const char* value) { SetARN(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline void SetName(const Aws::String& value) { m_name = value; }
59 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
60 inline void SetName(const char* value) { m_name.assign(value); }
61 inline CreateSecretResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateSecretResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateSecretResult& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetVersionId() const{ return m_versionId; }
71 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
72 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
73 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
74 inline CreateSecretResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
75 inline CreateSecretResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
76 inline CreateSecretResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
78
80
87 inline const Aws::Vector<ReplicationStatusType>& GetReplicationStatus() const{ return m_replicationStatus; }
88 inline void SetReplicationStatus(const Aws::Vector<ReplicationStatusType>& value) { m_replicationStatus = value; }
89 inline void SetReplicationStatus(Aws::Vector<ReplicationStatusType>&& value) { m_replicationStatus = std::move(value); }
92 inline CreateSecretResult& AddReplicationStatus(const ReplicationStatusType& value) { m_replicationStatus.push_back(value); return *this; }
93 inline CreateSecretResult& AddReplicationStatus(ReplicationStatusType&& value) { m_replicationStatus.push_back(std::move(value)); return *this; }
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline CreateSecretResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline CreateSecretResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline CreateSecretResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_aRN;
109
110 Aws::String m_name;
111
112 Aws::String m_versionId;
113
114 Aws::Vector<ReplicationStatusType> m_replicationStatus;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace SecretsManager
121} // namespace Aws
CreateSecretResult & WithName(const Aws::String &value)
AWS_SECRETSMANAGER_API CreateSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ReplicationStatusType > & GetReplicationStatus() const
CreateSecretResult & AddReplicationStatus(ReplicationStatusType &&value)
CreateSecretResult & AddReplicationStatus(const ReplicationStatusType &value)
AWS_SECRETSMANAGER_API CreateSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSecretResult & WithVersionId(Aws::String &&value)
CreateSecretResult & WithRequestId(Aws::String &&value)
CreateSecretResult & WithRequestId(const Aws::String &value)
CreateSecretResult & WithRequestId(const char *value)
CreateSecretResult & WithName(const char *value)
void SetReplicationStatus(const Aws::Vector< ReplicationStatusType > &value)
CreateSecretResult & WithVersionId(const Aws::String &value)
CreateSecretResult & WithARN(Aws::String &&value)
CreateSecretResult & WithName(Aws::String &&value)
void SetReplicationStatus(Aws::Vector< ReplicationStatusType > &&value)
CreateSecretResult & WithReplicationStatus(Aws::Vector< ReplicationStatusType > &&value)
CreateSecretResult & WithVersionId(const char *value)
CreateSecretResult & WithReplicationStatus(const Aws::Vector< ReplicationStatusType > &value)
CreateSecretResult & WithARN(const Aws::String &value)
CreateSecretResult & WithARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue