AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ArtifactDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ArtifactDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ArtifactDetail& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const S3Location& GetS3location() const{ return m_s3location; }
61 inline bool S3locationHasBeenSet() const { return m_s3locationHasBeenSet; }
62 inline void SetS3location(const S3Location& value) { m_s3locationHasBeenSet = true; m_s3location = value; }
63 inline void SetS3location(S3Location&& value) { m_s3locationHasBeenSet = true; m_s3location = std::move(value); }
64 inline ArtifactDetail& WithS3location(const S3Location& value) { SetS3location(value); return *this;}
65 inline ArtifactDetail& WithS3location(S3Location&& value) { SetS3location(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
72 S3Location m_s3location;
73 bool m_s3locationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CodePipeline
78} // namespace Aws
void SetName(const Aws::String &value)
ArtifactDetail & WithName(const Aws::String &value)
AWS_CODEPIPELINE_API ArtifactDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ArtifactDetail & WithName(Aws::String &&value)
void SetS3location(const S3Location &value)
const Aws::String & GetName() const
ArtifactDetail & WithName(const char *value)
ArtifactDetail & WithS3location(const S3Location &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ArtifactDetail & WithS3location(S3Location &&value)
AWS_CODEPIPELINE_API ArtifactDetail(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetS3location() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue