AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
Artifact.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/importexport/ImportExport_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ImportExport {
20namespace Model {
21
28class Artifact {
29 public:
30 AWS_IMPORTEXPORT_API Artifact() = default;
31 AWS_IMPORTEXPORT_API Artifact(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_IMPORTEXPORT_API Artifact& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_IMPORTEXPORT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_IMPORTEXPORT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
39 inline const Aws::String& GetDescription() const { return m_description; }
40 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
41 template <typename DescriptionT = Aws::String>
42 void SetDescription(DescriptionT&& value) {
43 m_descriptionHasBeenSet = true;
44 m_description = std::forward<DescriptionT>(value);
45 }
46 template <typename DescriptionT = Aws::String>
47 Artifact& WithDescription(DescriptionT&& value) {
48 SetDescription(std::forward<DescriptionT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetURL() const { return m_uRL; }
56 inline bool URLHasBeenSet() const { return m_uRLHasBeenSet; }
57 template <typename URLT = Aws::String>
58 void SetURL(URLT&& value) {
59 m_uRLHasBeenSet = true;
60 m_uRL = std::forward<URLT>(value);
61 }
62 template <typename URLT = Aws::String>
63 Artifact& WithURL(URLT&& value) {
64 SetURL(std::forward<URLT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_description;
70
71 Aws::String m_uRL;
72 bool m_descriptionHasBeenSet = false;
73 bool m_uRLHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ImportExport
78} // namespace Aws
void SetDescription(DescriptionT &&value)
Definition Artifact.h:42
Artifact & WithURL(URLT &&value)
Definition Artifact.h:63
AWS_IMPORTEXPORT_API Artifact()=default
AWS_IMPORTEXPORT_API Artifact & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Artifact & WithDescription(DescriptionT &&value)
Definition Artifact.h:47
AWS_IMPORTEXPORT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_IMPORTEXPORT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDescription() const
Definition Artifact.h:39
const Aws::String & GetURL() const
Definition Artifact.h:55
AWS_IMPORTEXPORT_API Artifact(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream