AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ArtifactDetail.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/S3Location.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
30 public:
31 AWS_CODEPIPELINE_API ArtifactDetail() = default;
32 AWS_CODEPIPELINE_API ArtifactDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEPIPELINE_API ArtifactDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 ArtifactDetail& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
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) {
62 m_s3locationHasBeenSet = true;
63 m_s3location = std::forward<S3locationT>(value);
64 }
65 template <typename S3locationT = S3Location>
66 ArtifactDetail& WithS3location(S3locationT&& value) {
67 SetS3location(std::forward<S3locationT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_name;
73
74 S3Location m_s3location;
75 bool m_nameHasBeenSet = false;
76 bool m_s3locationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CodePipeline
81} // 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