AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ImportSource.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/ImportSourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDFRONT_API ImportSource() = default;
35 AWS_CLOUDFRONT_API ImportSource(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API ImportSource& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline ImportSourceType GetSourceType() const { return m_sourceType; }
46 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
47 inline void SetSourceType(ImportSourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
48 inline ImportSource& WithSourceType(ImportSourceType value) { SetSourceType(value); return *this;}
50
52
56 inline const Aws::String& GetSourceARN() const { return m_sourceARN; }
57 inline bool SourceARNHasBeenSet() const { return m_sourceARNHasBeenSet; }
58 template<typename SourceARNT = Aws::String>
59 void SetSourceARN(SourceARNT&& value) { m_sourceARNHasBeenSet = true; m_sourceARN = std::forward<SourceARNT>(value); }
60 template<typename SourceARNT = Aws::String>
61 ImportSource& WithSourceARN(SourceARNT&& value) { SetSourceARN(std::forward<SourceARNT>(value)); return *this;}
63 private:
64
66 bool m_sourceTypeHasBeenSet = false;
67
68 Aws::String m_sourceARN;
69 bool m_sourceARNHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudFront
74} // namespace Aws
void SetSourceARN(SourceARNT &&value)
AWS_CLOUDFRONT_API ImportSource(const Aws::Utils::Xml::XmlNode &xmlNode)
ImportSource & WithSourceARN(SourceARNT &&value)
AWS_CLOUDFRONT_API ImportSource()=default
const Aws::String & GetSourceARN() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetSourceType(ImportSourceType value)
ImportSourceType GetSourceType() const
ImportSource & WithSourceType(ImportSourceType value)
AWS_CLOUDFRONT_API ImportSource & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String