AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ArtifactStore.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ArtifactStoreType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codepipeline/model/EncryptionKey.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodePipeline
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_CODEPIPELINE_API ArtifactStore() = default;
41 AWS_CODEPIPELINE_API ArtifactStore(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEPIPELINE_API ArtifactStore& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline ArtifactStoreType GetType() const { return m_type; }
51 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
52 inline void SetType(ArtifactStoreType value) { m_typeHasBeenSet = true; m_type = value; }
53 inline ArtifactStore& WithType(ArtifactStoreType value) { SetType(value); return *this;}
55
57
64 inline const Aws::String& GetLocation() const { return m_location; }
65 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
66 template<typename LocationT = Aws::String>
67 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
68 template<typename LocationT = Aws::String>
69 ArtifactStore& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
71
73
78 inline const EncryptionKey& GetEncryptionKey() const { return m_encryptionKey; }
79 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
80 template<typename EncryptionKeyT = EncryptionKey>
81 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
82 template<typename EncryptionKeyT = EncryptionKey>
83 ArtifactStore& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
85 private:
86
88 bool m_typeHasBeenSet = false;
89
90 Aws::String m_location;
91 bool m_locationHasBeenSet = false;
92
93 EncryptionKey m_encryptionKey;
94 bool m_encryptionKeyHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CodePipeline
99} // namespace Aws
AWS_CODEPIPELINE_API ArtifactStore(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API ArtifactStore()=default
ArtifactStore & WithType(ArtifactStoreType value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const EncryptionKey & GetEncryptionKey() const
ArtifactStoreType GetType() const
void SetEncryptionKey(EncryptionKeyT &&value)
const Aws::String & GetLocation() const
ArtifactStore & WithLocation(LocationT &&value)
AWS_CODEPIPELINE_API ArtifactStore & operator=(Aws::Utils::Json::JsonView jsonValue)
ArtifactStore & WithEncryptionKey(EncryptionKeyT &&value)
void SetType(ArtifactStoreType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue