AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CopyDistribution2020_05_31Result.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Distribution.h>
9#include <aws/core/utils/memory/stl/AWSString.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{
29 {
30 public:
31 AWS_CLOUDFRONT_API CopyDistribution2020_05_31Result() = default;
34
35
37
38 inline const Distribution& GetDistribution() const { return m_distribution; }
39 template<typename DistributionT = Distribution>
40 void SetDistribution(DistributionT&& value) { m_distributionHasBeenSet = true; m_distribution = std::forward<DistributionT>(value); }
41 template<typename DistributionT = Distribution>
42 CopyDistribution2020_05_31Result& WithDistribution(DistributionT&& value) { SetDistribution(std::forward<DistributionT>(value)); return *this;}
44
46
49 inline const Aws::String& GetLocation() const { return m_location; }
50 template<typename LocationT = Aws::String>
51 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
52 template<typename LocationT = Aws::String>
53 CopyDistribution2020_05_31Result& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
55
57
61 inline const Aws::String& GetETag() const { return m_eTag; }
62 template<typename ETagT = Aws::String>
63 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
64 template<typename ETagT = Aws::String>
65 CopyDistribution2020_05_31Result& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 CopyDistribution2020_05_31Result& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Distribution m_distribution;
79 bool m_distributionHasBeenSet = false;
80
81 Aws::String m_location;
82 bool m_locationHasBeenSet = false;
83
84 Aws::String m_eTag;
85 bool m_eTagHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CloudFront
93} // namespace Aws
CopyDistribution2020_05_31Result & WithETag(ETagT &&value)
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CopyDistribution2020_05_31Result & WithLocation(LocationT &&value)
AWS_CLOUDFRONT_API CopyDistribution2020_05_31Result()=default
CopyDistribution2020_05_31Result & WithDistribution(DistributionT &&value)
CopyDistribution2020_05_31Result & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument