AWS SDK for C++  1.9.108
AWS SDK for C++
ArtifactStore.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace CodePipeline
24 {
25 namespace Model
26 {
27 
38  {
39  public:
44 
45 
49  inline const ArtifactStoreType& GetType() const{ return m_type; }
50 
54  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
55 
59  inline void SetType(const ArtifactStoreType& value) { m_typeHasBeenSet = true; m_type = value; }
60 
64  inline void SetType(ArtifactStoreType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 
69  inline ArtifactStore& WithType(const ArtifactStoreType& value) { SetType(value); return *this;}
70 
74  inline ArtifactStore& WithType(ArtifactStoreType&& value) { SetType(std::move(value)); return *this;}
75 
76 
84  inline const Aws::String& GetLocation() const{ return m_location; }
85 
93  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
94 
102  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
103 
111  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
112 
120  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
121 
129  inline ArtifactStore& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
130 
138  inline ArtifactStore& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
139 
147  inline ArtifactStore& WithLocation(const char* value) { SetLocation(value); return *this;}
148 
149 
155  inline const EncryptionKey& GetEncryptionKey() const{ return m_encryptionKey; }
156 
162  inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
163 
169  inline void SetEncryptionKey(const EncryptionKey& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
170 
176  inline void SetEncryptionKey(EncryptionKey&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
177 
183  inline ArtifactStore& WithEncryptionKey(const EncryptionKey& value) { SetEncryptionKey(value); return *this;}
184 
190  inline ArtifactStore& WithEncryptionKey(EncryptionKey&& value) { SetEncryptionKey(std::move(value)); return *this;}
191 
192  private:
193 
194  ArtifactStoreType m_type;
195  bool m_typeHasBeenSet;
196 
197  Aws::String m_location;
198  bool m_locationHasBeenSet;
199 
200  EncryptionKey m_encryptionKey;
201  bool m_encryptionKeyHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace CodePipeline
206 } // namespace Aws
Aws::CodePipeline::Model::ArtifactStore::GetLocation
const Aws::String & GetLocation() const
Definition: ArtifactStore.h:84
Aws::CodePipeline::Model::ArtifactStore
Definition: ArtifactStore.h:38
Aws::CodePipeline::Model::ArtifactStore::SetEncryptionKey
void SetEncryptionKey(const EncryptionKey &value)
Definition: ArtifactStore.h:169
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ArtifactStore::operator=
ArtifactStore & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::ArtifactStore::WithLocation
ArtifactStore & WithLocation(const Aws::String &value)
Definition: ArtifactStore.h:129
Aws::CodePipeline::Model::ArtifactStore::SetType
void SetType(const ArtifactStoreType &value)
Definition: ArtifactStore.h:59
Aws::CodePipeline::Model::ArtifactStore::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ArtifactStore.h:54
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ArtifactStore::WithEncryptionKey
ArtifactStore & WithEncryptionKey(EncryptionKey &&value)
Definition: ArtifactStore.h:190
Aws::CodePipeline::Model::ArtifactStore::SetEncryptionKey
void SetEncryptionKey(EncryptionKey &&value)
Definition: ArtifactStore.h:176
Aws::CodePipeline::Model::ArtifactStore::SetLocation
void SetLocation(const char *value)
Definition: ArtifactStore.h:120
Aws::CodePipeline::Model::ArtifactStore::GetEncryptionKey
const EncryptionKey & GetEncryptionKey() const
Definition: ArtifactStore.h:155
Aws::CodePipeline::Model::ArtifactStore::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: ArtifactStore.h:93
Aws::CodePipeline::Model::ArtifactStore::ArtifactStore
ArtifactStore(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::ArtifactStore::SetLocation
void SetLocation(Aws::String &&value)
Definition: ArtifactStore.h:111
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::CodePipeline::Model::ArtifactStore::WithType
ArtifactStore & WithType(ArtifactStoreType &&value)
Definition: ArtifactStore.h:74
Aws::CodePipeline::Model::ArtifactStore::SetLocation
void SetLocation(const Aws::String &value)
Definition: ArtifactStore.h:102
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
ArtifactStoreType.h
Aws::CodePipeline::Model::ArtifactStoreType
ArtifactStoreType
Definition: ArtifactStoreType.h:17
Aws::CodePipeline::Model::EncryptionKey
Definition: EncryptionKey.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ArtifactStore::ArtifactStore
ArtifactStore()
Aws::CodePipeline::Model::ArtifactStore::WithEncryptionKey
ArtifactStore & WithEncryptionKey(const EncryptionKey &value)
Definition: ArtifactStore.h:183
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
EncryptionKey.h
Aws::CodePipeline::Model::ArtifactStore::WithLocation
ArtifactStore & WithLocation(Aws::String &&value)
Definition: ArtifactStore.h:138
Aws::CodePipeline::Model::ArtifactStore::WithType
ArtifactStore & WithType(const ArtifactStoreType &value)
Definition: ArtifactStore.h:69
Aws::CodePipeline::Model::ArtifactStore::EncryptionKeyHasBeenSet
bool EncryptionKeyHasBeenSet() const
Definition: ArtifactStore.h:162
Aws::CodePipeline::Model::ArtifactStore::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::ArtifactStore::WithLocation
ArtifactStore & WithLocation(const char *value)
Definition: ArtifactStore.h:147
Aws::CodePipeline::Model::ArtifactStore::SetType
void SetType(ArtifactStoreType &&value)
Definition: ArtifactStore.h:64
Aws::CodePipeline::Model::ArtifactStore::GetType
const ArtifactStoreType & GetType() const
Definition: ArtifactStore.h:49