AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRepositoryEncryptionKeyResult.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeCommit
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetRepositoryId() const{ return m_repositoryId; }
40 inline void SetRepositoryId(const Aws::String& value) { m_repositoryId = value; }
41 inline void SetRepositoryId(Aws::String&& value) { m_repositoryId = std::move(value); }
42 inline void SetRepositoryId(const char* value) { m_repositoryId.assign(value); }
44 inline UpdateRepositoryEncryptionKeyResult& WithRepositoryId(Aws::String&& value) { SetRepositoryId(std::move(value)); return *this;}
45 inline UpdateRepositoryEncryptionKeyResult& WithRepositoryId(const char* value) { SetRepositoryId(value); return *this;}
47
49
52 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
53 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
54 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
55 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
56 inline UpdateRepositoryEncryptionKeyResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
57 inline UpdateRepositoryEncryptionKeyResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
58 inline UpdateRepositoryEncryptionKeyResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
60
62
66 inline const Aws::String& GetOriginalKmsKeyId() const{ return m_originalKmsKeyId; }
67 inline void SetOriginalKmsKeyId(const Aws::String& value) { m_originalKmsKeyId = value; }
68 inline void SetOriginalKmsKeyId(Aws::String&& value) { m_originalKmsKeyId = std::move(value); }
69 inline void SetOriginalKmsKeyId(const char* value) { m_originalKmsKeyId.assign(value); }
72 inline UpdateRepositoryEncryptionKeyResult& WithOriginalKmsKeyId(const char* value) { SetOriginalKmsKeyId(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline UpdateRepositoryEncryptionKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline UpdateRepositoryEncryptionKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline UpdateRepositoryEncryptionKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_repositoryId;
88
89 Aws::String m_kmsKeyId;
90
91 Aws::String m_originalKmsKeyId;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace CodeCommit
98} // namespace Aws
UpdateRepositoryEncryptionKeyResult & WithRepositoryId(const Aws::String &value)
UpdateRepositoryEncryptionKeyResult & WithRepositoryId(Aws::String &&value)
UpdateRepositoryEncryptionKeyResult & WithRepositoryId(const char *value)
UpdateRepositoryEncryptionKeyResult & WithRequestId(Aws::String &&value)
UpdateRepositoryEncryptionKeyResult & WithKmsKeyId(const char *value)
AWS_CODECOMMIT_API UpdateRepositoryEncryptionKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRepositoryEncryptionKeyResult & WithOriginalKmsKeyId(Aws::String &&value)
AWS_CODECOMMIT_API UpdateRepositoryEncryptionKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRepositoryEncryptionKeyResult & WithRequestId(const Aws::String &value)
UpdateRepositoryEncryptionKeyResult & WithKmsKeyId(const Aws::String &value)
UpdateRepositoryEncryptionKeyResult & WithRequestId(const char *value)
UpdateRepositoryEncryptionKeyResult & WithOriginalKmsKeyId(const Aws::String &value)
UpdateRepositoryEncryptionKeyResult & WithKmsKeyId(Aws::String &&value)
UpdateRepositoryEncryptionKeyResult & WithOriginalKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue