AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ArtifactStoreType& GetType() const{ return m_type; }
51 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
52 inline void SetType(const ArtifactStoreType& value) { m_typeHasBeenSet = true; m_type = value; }
53 inline void SetType(ArtifactStoreType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
54 inline ArtifactStore& WithType(const ArtifactStoreType& value) { SetType(value); return *this;}
55 inline ArtifactStore& WithType(ArtifactStoreType&& value) { SetType(std::move(value)); return *this;}
57
59
66 inline const Aws::String& GetLocation() const{ return m_location; }
67 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
68 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
69 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
70 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
71 inline ArtifactStore& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
72 inline ArtifactStore& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
73 inline ArtifactStore& WithLocation(const char* value) { SetLocation(value); return *this;}
75
77
82 inline const EncryptionKey& GetEncryptionKey() const{ return m_encryptionKey; }
83 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
84 inline void SetEncryptionKey(const EncryptionKey& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
85 inline void SetEncryptionKey(EncryptionKey&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
86 inline ArtifactStore& WithEncryptionKey(const EncryptionKey& value) { SetEncryptionKey(value); return *this;}
87 inline ArtifactStore& WithEncryptionKey(EncryptionKey&& value) { SetEncryptionKey(std::move(value)); return *this;}
89 private:
90
91 ArtifactStoreType m_type;
92 bool m_typeHasBeenSet = false;
93
94 Aws::String m_location;
95 bool m_locationHasBeenSet = false;
96
97 EncryptionKey m_encryptionKey;
98 bool m_encryptionKeyHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CodePipeline
103} // namespace Aws
AWS_CODEPIPELINE_API ArtifactStore()
ArtifactStore & WithLocation(const Aws::String &value)
void SetType(const ArtifactStoreType &value)
AWS_CODEPIPELINE_API ArtifactStore(Aws::Utils::Json::JsonView jsonValue)
ArtifactStore & WithType(const ArtifactStoreType &value)
void SetEncryptionKey(const EncryptionKey &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const EncryptionKey & GetEncryptionKey() const
const ArtifactStoreType & GetType() const
void SetType(ArtifactStoreType &&value)
ArtifactStore & WithType(ArtifactStoreType &&value)
void SetLocation(const Aws::String &value)
ArtifactStore & WithEncryptionKey(const EncryptionKey &value)
void SetEncryptionKey(EncryptionKey &&value)
const Aws::String & GetLocation() const
ArtifactStore & WithEncryptionKey(EncryptionKey &&value)
ArtifactStore & WithLocation(const char *value)
ArtifactStore & WithLocation(Aws::String &&value)
void SetLocation(Aws::String &&value)
AWS_CODEPIPELINE_API ArtifactStore & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue