AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EncryptionKey.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/EncryptionKeyType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodePipeline
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CODEPIPELINE_API EncryptionKey();
38 AWS_CODEPIPELINE_API EncryptionKey(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API EncryptionKey& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline const Aws::String& GetId() const{ return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
58 inline EncryptionKey& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline EncryptionKey& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline EncryptionKey& WithId(const char* value) { SetId(value); return *this;}
62
64
68 inline const EncryptionKeyType& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const EncryptionKeyType& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(EncryptionKeyType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline EncryptionKey& WithType(const EncryptionKeyType& value) { SetType(value); return *this;}
73 inline EncryptionKey& WithType(EncryptionKeyType&& value) { SetType(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_id;
78 bool m_idHasBeenSet = false;
79
80 EncryptionKeyType m_type;
81 bool m_typeHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CodePipeline
86} // namespace Aws
EncryptionKey & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
EncryptionKey & WithType(EncryptionKeyType &&value)
EncryptionKey & WithType(const EncryptionKeyType &value)
AWS_CODEPIPELINE_API EncryptionKey(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(EncryptionKeyType &&value)
const Aws::String & GetId() const
EncryptionKey & WithId(const Aws::String &value)
AWS_CODEPIPELINE_API EncryptionKey()
const EncryptionKeyType & GetType() const
void SetType(const EncryptionKeyType &value)
EncryptionKey & WithId(const char *value)
AWS_CODEPIPELINE_API EncryptionKey & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue