AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ArtifactDetail.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/S3Location.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 ArtifactDetail() = default;
37 AWS_CODEPIPELINE_API ArtifactDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API ArtifactDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 ArtifactDetail& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const S3Location& GetS3location() const { return m_s3location; }
59 inline bool S3locationHasBeenSet() const { return m_s3locationHasBeenSet; }
60 template<typename S3locationT = S3Location>
61 void SetS3location(S3locationT&& value) { m_s3locationHasBeenSet = true; m_s3location = std::forward<S3locationT>(value); }
62 template<typename S3locationT = S3Location>
63 ArtifactDetail& WithS3location(S3locationT&& value) { SetS3location(std::forward<S3locationT>(value)); return *this;}
65 private:
66
67 Aws::String m_name;
68 bool m_nameHasBeenSet = false;
69
70 S3Location m_s3location;
71 bool m_s3locationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CodePipeline
76} // namespace Aws
AWS_CODEPIPELINE_API ArtifactDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ArtifactDetail & WithS3location(S3locationT &&value)
const Aws::String & GetName() const
ArtifactDetail & WithName(NameT &&value)
void SetS3location(S3locationT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API ArtifactDetail(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetS3location() const
AWS_CODEPIPELINE_API ArtifactDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue