AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ArtifactSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/model/ArtifactType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityAgent {
21namespace Model {
22
29 public:
30 AWS_SECURITYAGENT_API ArtifactSummary() = default;
31 AWS_SECURITYAGENT_API ArtifactSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API ArtifactSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArtifactId() const { return m_artifactId; }
40 inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; }
41 template <typename ArtifactIdT = Aws::String>
42 void SetArtifactId(ArtifactIdT&& value) {
43 m_artifactIdHasBeenSet = true;
44 m_artifactId = std::forward<ArtifactIdT>(value);
45 }
46 template <typename ArtifactIdT = Aws::String>
47 ArtifactSummary& WithArtifactId(ArtifactIdT&& value) {
48 SetArtifactId(std::forward<ArtifactIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFileName() const { return m_fileName; }
58 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
59 template <typename FileNameT = Aws::String>
60 void SetFileName(FileNameT&& value) {
61 m_fileNameHasBeenSet = true;
62 m_fileName = std::forward<FileNameT>(value);
63 }
64 template <typename FileNameT = Aws::String>
65 ArtifactSummary& WithFileName(FileNameT&& value) {
66 SetFileName(std::forward<FileNameT>(value));
67 return *this;
68 }
70
72
75 inline ArtifactType GetArtifactType() const { return m_artifactType; }
76 inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
77 inline void SetArtifactType(ArtifactType value) {
78 m_artifactTypeHasBeenSet = true;
79 m_artifactType = value;
80 }
82 SetArtifactType(value);
83 return *this;
84 }
86 private:
87 Aws::String m_artifactId;
88
89 Aws::String m_fileName;
90
91 ArtifactType m_artifactType{ArtifactType::NOT_SET};
92 bool m_artifactIdHasBeenSet = false;
93 bool m_fileNameHasBeenSet = false;
94 bool m_artifactTypeHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SecurityAgent
99} // namespace Aws
AWS_SECURITYAGENT_API ArtifactSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ArtifactSummary & WithFileName(FileNameT &&value)
AWS_SECURITYAGENT_API ArtifactSummary()=default
ArtifactSummary & WithArtifactType(ArtifactType value)
const Aws::String & GetFileName() const
const Aws::String & GetArtifactId() const
AWS_SECURITYAGENT_API ArtifactSummary(Aws::Utils::Json::JsonView jsonValue)
ArtifactSummary & WithArtifactId(ArtifactIdT &&value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue