AWS SDK for C++  1.9.155
AWS SDK for C++
Artifact.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Amplify
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetArtifactFileName() const{ return m_artifactFileName; }
44 
48  inline bool ArtifactFileNameHasBeenSet() const { return m_artifactFileNameHasBeenSet; }
49 
53  inline void SetArtifactFileName(const Aws::String& value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName = value; }
54 
58  inline void SetArtifactFileName(Aws::String&& value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName = std::move(value); }
59 
63  inline void SetArtifactFileName(const char* value) { m_artifactFileNameHasBeenSet = true; m_artifactFileName.assign(value); }
64 
68  inline Artifact& WithArtifactFileName(const Aws::String& value) { SetArtifactFileName(value); return *this;}
69 
73  inline Artifact& WithArtifactFileName(Aws::String&& value) { SetArtifactFileName(std::move(value)); return *this;}
74 
78  inline Artifact& WithArtifactFileName(const char* value) { SetArtifactFileName(value); return *this;}
79 
80 
84  inline const Aws::String& GetArtifactId() const{ return m_artifactId; }
85 
89  inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; }
90 
94  inline void SetArtifactId(const Aws::String& value) { m_artifactIdHasBeenSet = true; m_artifactId = value; }
95 
99  inline void SetArtifactId(Aws::String&& value) { m_artifactIdHasBeenSet = true; m_artifactId = std::move(value); }
100 
104  inline void SetArtifactId(const char* value) { m_artifactIdHasBeenSet = true; m_artifactId.assign(value); }
105 
109  inline Artifact& WithArtifactId(const Aws::String& value) { SetArtifactId(value); return *this;}
110 
114  inline Artifact& WithArtifactId(Aws::String&& value) { SetArtifactId(std::move(value)); return *this;}
115 
119  inline Artifact& WithArtifactId(const char* value) { SetArtifactId(value); return *this;}
120 
121  private:
122 
123  Aws::String m_artifactFileName;
124  bool m_artifactFileNameHasBeenSet;
125 
126  Aws::String m_artifactId;
127  bool m_artifactIdHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace Amplify
132 } // namespace Aws
Aws::Amplify::Model::Artifact
Definition: Artifact.h:32
Amplify_EXPORTS.h
Aws::Amplify::Model::Artifact::Artifact
Artifact()
Aws::Amplify::Model::Artifact::WithArtifactFileName
Artifact & WithArtifactFileName(const char *value)
Definition: Artifact.h:78
Aws::Amplify::Model::Artifact::Artifact
Artifact(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::Artifact::GetArtifactFileName
const Aws::String & GetArtifactFileName() const
Definition: Artifact.h:43
Aws::Amplify::Model::Artifact::SetArtifactFileName
void SetArtifactFileName(Aws::String &&value)
Definition: Artifact.h:58
Aws::Amplify::Model::Artifact::operator=
Artifact & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Amplify::Model::Artifact::SetArtifactFileName
void SetArtifactFileName(const char *value)
Definition: Artifact.h:63
Aws::Amplify::Model::Artifact::SetArtifactId
void SetArtifactId(const char *value)
Definition: Artifact.h:104
Aws::Amplify::Model::Artifact::WithArtifactFileName
Artifact & WithArtifactFileName(Aws::String &&value)
Definition: Artifact.h:73
Aws::Amplify::Model::Artifact::WithArtifactId
Artifact & WithArtifactId(const Aws::String &value)
Definition: Artifact.h:109
Aws::Amplify::Model::Artifact::GetArtifactId
const Aws::String & GetArtifactId() const
Definition: Artifact.h:84
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Amplify::Model::Artifact::SetArtifactId
void SetArtifactId(Aws::String &&value)
Definition: Artifact.h:99
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Amplify::Model::Artifact::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Amplify::Model::Artifact::ArtifactIdHasBeenSet
bool ArtifactIdHasBeenSet() const
Definition: Artifact.h:89
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::Artifact::WithArtifactFileName
Artifact & WithArtifactFileName(const Aws::String &value)
Definition: Artifact.h:68
Aws::Amplify::Model::Artifact::WithArtifactId
Artifact & WithArtifactId(const char *value)
Definition: Artifact.h:119
Aws::Amplify::Model::Artifact::ArtifactFileNameHasBeenSet
bool ArtifactFileNameHasBeenSet() const
Definition: Artifact.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::Artifact::SetArtifactFileName
void SetArtifactFileName(const Aws::String &value)
Definition: Artifact.h:53
Aws::Amplify::Model::Artifact::WithArtifactId
Artifact & WithArtifactId(Aws::String &&value)
Definition: Artifact.h:114
Aws::Amplify::Model::Artifact::SetArtifactId
void SetArtifactId(const Aws::String &value)
Definition: Artifact.h:94
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28