AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateInvalidation2020_05_31Result.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/Invalidation.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace CloudFront
25{
26namespace Model
27{
35 {
36 public:
40
41
43
47 inline const Aws::String& GetLocation() const{ return m_location; }
48 inline void SetLocation(const Aws::String& value) { m_location = value; }
49 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
50 inline void SetLocation(const char* value) { m_location.assign(value); }
51 inline CreateInvalidation2020_05_31Result& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
52 inline CreateInvalidation2020_05_31Result& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
53 inline CreateInvalidation2020_05_31Result& WithLocation(const char* value) { SetLocation(value); return *this;}
55
57
60 inline const Invalidation& GetInvalidation() const{ return m_invalidation; }
61 inline void SetInvalidation(const Invalidation& value) { m_invalidation = value; }
62 inline void SetInvalidation(Invalidation&& value) { m_invalidation = std::move(value); }
64 inline CreateInvalidation2020_05_31Result& WithInvalidation(Invalidation&& value) { SetInvalidation(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline CreateInvalidation2020_05_31Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline CreateInvalidation2020_05_31Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline CreateInvalidation2020_05_31Result& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_location;
80
81 Invalidation m_invalidation;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace CloudFront
88} // namespace Aws
CreateInvalidation2020_05_31Result & WithLocation(Aws::String &&value)
CreateInvalidation2020_05_31Result & WithRequestId(Aws::String &&value)
CreateInvalidation2020_05_31Result & WithLocation(const Aws::String &value)
CreateInvalidation2020_05_31Result & WithRequestId(const Aws::String &value)
CreateInvalidation2020_05_31Result & WithRequestId(const char *value)
AWS_CLOUDFRONT_API CreateInvalidation2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateInvalidation2020_05_31Result & WithInvalidation(const Invalidation &value)
AWS_CLOUDFRONT_API CreateInvalidation2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateInvalidation2020_05_31Result & WithInvalidation(Invalidation &&value)
CreateInvalidation2020_05_31Result & WithLocation(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument