AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvalidationBatch.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Paths.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 InvalidationBatch() = default;
35 AWS_CLOUDFRONT_API InvalidationBatch(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFRONT_API InvalidationBatch& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
49 inline const Paths& GetPaths() const { return m_paths; }
50 inline bool PathsHasBeenSet() const { return m_pathsHasBeenSet; }
51 template<typename PathsT = Paths>
52 void SetPaths(PathsT&& value) { m_pathsHasBeenSet = true; m_paths = std::forward<PathsT>(value); }
53 template<typename PathsT = Paths>
54 InvalidationBatch& WithPaths(PathsT&& value) { SetPaths(std::forward<PathsT>(value)); return *this;}
56
58
75 inline const Aws::String& GetCallerReference() const { return m_callerReference; }
76 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
77 template<typename CallerReferenceT = Aws::String>
78 void SetCallerReference(CallerReferenceT&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::forward<CallerReferenceT>(value); }
79 template<typename CallerReferenceT = Aws::String>
80 InvalidationBatch& WithCallerReference(CallerReferenceT&& value) { SetCallerReference(std::forward<CallerReferenceT>(value)); return *this;}
82 private:
83
84 Paths m_paths;
85 bool m_pathsHasBeenSet = false;
86
87 Aws::String m_callerReference;
88 bool m_callerReferenceHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CloudFront
93} // namespace Aws
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InvalidationBatch & WithPaths(PathsT &&value)
InvalidationBatch & WithCallerReference(CallerReferenceT &&value)
AWS_CLOUDFRONT_API InvalidationBatch()=default
void SetCallerReference(CallerReferenceT &&value)
AWS_CLOUDFRONT_API InvalidationBatch & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCallerReference() const
AWS_CLOUDFRONT_API InvalidationBatch(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String