AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPaths(const Paths& value) { m_pathsHasBeenSet = true; m_paths = value; }
52 inline void SetPaths(Paths&& value) { m_pathsHasBeenSet = true; m_paths = std::move(value); }
53 inline InvalidationBatch& WithPaths(const Paths& value) { SetPaths(value); return *this;}
54 inline InvalidationBatch& WithPaths(Paths&& value) { SetPaths(std::move(value)); return *this;}
56
58
75 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
76 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
77 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
78 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
79 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
80 inline InvalidationBatch& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
81 inline InvalidationBatch& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
82 inline InvalidationBatch& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
84 private:
85
86 Paths m_paths;
87 bool m_pathsHasBeenSet = false;
88
89 Aws::String m_callerReference;
90 bool m_callerReferenceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CloudFront
95} // namespace Aws
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetCallerReference(const Aws::String &value)
InvalidationBatch & WithPaths(Paths &&value)
InvalidationBatch & WithCallerReference(const char *value)
InvalidationBatch & WithCallerReference(const Aws::String &value)
InvalidationBatch & WithCallerReference(Aws::String &&value)
AWS_CLOUDFRONT_API InvalidationBatch & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCallerReference() const
InvalidationBatch & WithPaths(const Paths &value)
AWS_CLOUDFRONT_API InvalidationBatch(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String