AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ArtifactLocation.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ArtifactLocationType.h>
9#include <aws/codepipeline/model/S3ArtifactLocation.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
34 {
35 public:
36 AWS_CODEPIPELINE_API ArtifactLocation() = default;
37 AWS_CODEPIPELINE_API ArtifactLocation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API ArtifactLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline ArtifactLocationType GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(ArtifactLocationType value) { m_typeHasBeenSet = true; m_type = value; }
49 inline ArtifactLocation& WithType(ArtifactLocationType value) { SetType(value); return *this;}
51
53
56 inline const S3ArtifactLocation& GetS3Location() const { return m_s3Location; }
57 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
58 template<typename S3LocationT = S3ArtifactLocation>
59 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::forward<S3LocationT>(value); }
60 template<typename S3LocationT = S3ArtifactLocation>
61 ArtifactLocation& WithS3Location(S3LocationT&& value) { SetS3Location(std::forward<S3LocationT>(value)); return *this;}
63 private:
64
66 bool m_typeHasBeenSet = false;
67
68 S3ArtifactLocation m_s3Location;
69 bool m_s3LocationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CodePipeline
74} // namespace Aws
ArtifactLocation & WithType(ArtifactLocationType value)
const S3ArtifactLocation & GetS3Location() const
ArtifactLocation & WithS3Location(S3LocationT &&value)
AWS_CODEPIPELINE_API ArtifactLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(ArtifactLocationType value)
AWS_CODEPIPELINE_API ArtifactLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API ArtifactLocation()=default
Aws::Utils::Json::JsonValue JsonValue