AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
SecurityRequirementArtifact.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/SecurityRequirementArtifactFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityAgent {
22namespace Model {
23
31 public:
32 AWS_SECURITYAGENT_API SecurityRequirementArtifact() = default;
35 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline SecurityRequirementArtifactFormat GetFormat() const { return m_format; }
60 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
62 m_formatHasBeenSet = true;
63 m_format = value;
64 }
66 SetFormat(value);
67 return *this;
68 }
70
72
75 inline const Aws::Utils::CryptoBuffer& GetContent() const { return m_content; }
76 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
77 template <typename ContentT = Aws::Utils::CryptoBuffer>
78 void SetContent(ContentT&& value) {
79 m_contentHasBeenSet = true;
80 m_content = std::forward<ContentT>(value);
81 }
82 template <typename ContentT = Aws::Utils::CryptoBuffer>
84 SetContent(std::forward<ContentT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_name;
90
92
93 Aws::Utils::CryptoBuffer m_content{};
94 bool m_nameHasBeenSet = false;
95 bool m_formatHasBeenSet = false;
96 bool m_contentHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SecurityAgent
101} // namespace Aws
AWS_SECURITYAGENT_API SecurityRequirementArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityRequirementArtifact & WithContent(ContentT &&value)
AWS_SECURITYAGENT_API SecurityRequirementArtifact(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API SecurityRequirementArtifact()=default
SecurityRequirementArtifact & WithName(NameT &&value)
SecurityRequirementArtifact & WithFormat(SecurityRequirementArtifactFormat value)
void SetFormat(SecurityRequirementArtifactFormat 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