AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Artifact.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Amplify
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AMPLIFY_API Artifact();
35 AWS_AMPLIFY_API Artifact(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AMPLIFY_API Artifact& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetArtifactFileName() const{ return m_artifactFileName; }
45 inline bool ArtifactFileNameHasBeenSet() const { return m_artifactFileNameHasBeenSet; }
46 inline void SetArtifactFileName(const Aws::String& value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName = value; }
47 inline void SetArtifactFileName(Aws::String&& value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName = std::move(value); }
48 inline void SetArtifactFileName(const char* value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName.assign(value); }
49 inline Artifact& WithArtifactFileName(const Aws::String& value) { SetArtifactFileName(value); return *this;}
50 inline Artifact& WithArtifactFileName(Aws::String&& value) { SetArtifactFileName(std::move(value)); return *this;}
51 inline Artifact& WithArtifactFileName(const char* value) { SetArtifactFileName(value); return *this;}
53
55
58 inline const Aws::String& GetArtifactId() const{ return m_artifactId; }
59 inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; }
60 inline void SetArtifactId(const Aws::String& value) { m_artifactIdHasBeenSet = true; m_artifactId = value; }
61 inline void SetArtifactId(Aws::String&& value) { m_artifactIdHasBeenSet = true; m_artifactId = std::move(value); }
62 inline void SetArtifactId(const char* value) { m_artifactIdHasBeenSet = true; m_artifactId.assign(value); }
63 inline Artifact& WithArtifactId(const Aws::String& value) { SetArtifactId(value); return *this;}
64 inline Artifact& WithArtifactId(Aws::String&& value) { SetArtifactId(std::move(value)); return *this;}
65 inline Artifact& WithArtifactId(const char* value) { SetArtifactId(value); return *this;}
67 private:
68
69 Aws::String m_artifactFileName;
70 bool m_artifactFileNameHasBeenSet = false;
71
72 Aws::String m_artifactId;
73 bool m_artifactIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Amplify
78} // namespace Aws
Artifact & WithArtifactFileName(const Aws::String &value)
Definition Artifact.h:49
const Aws::String & GetArtifactId() const
Definition Artifact.h:58
void SetArtifactFileName(const char *value)
Definition Artifact.h:48
void SetArtifactFileName(Aws::String &&value)
Definition Artifact.h:47
Artifact & WithArtifactId(const Aws::String &value)
Definition Artifact.h:63
void SetArtifactId(const char *value)
Definition Artifact.h:62
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArtifactId(const Aws::String &value)
Definition Artifact.h:60
bool ArtifactFileNameHasBeenSet() const
Definition Artifact.h:45
void SetArtifactId(Aws::String &&value)
Definition Artifact.h:61
void SetArtifactFileName(const Aws::String &value)
Definition Artifact.h:46
bool ArtifactIdHasBeenSet() const
Definition Artifact.h:59
Artifact & WithArtifactFileName(const char *value)
Definition Artifact.h:51
Artifact & WithArtifactId(Aws::String &&value)
Definition Artifact.h:64
Artifact & WithArtifactFileName(Aws::String &&value)
Definition Artifact.h:50
AWS_AMPLIFY_API Artifact & operator=(Aws::Utils::Json::JsonView jsonValue)
Artifact & WithArtifactId(const char *value)
Definition Artifact.h:65
AWS_AMPLIFY_API Artifact(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArtifactFileName() const
Definition Artifact.h:44
AWS_AMPLIFY_API Artifact()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue