AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateKeyGroup2020_05_31Result.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/KeyGroup.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 UpdateKeyGroup2020_05_31Result() = default;
34
35
37
40 inline const KeyGroup& GetKeyGroup() const { return m_keyGroup; }
41 template<typename KeyGroupT = KeyGroup>
42 void SetKeyGroup(KeyGroupT&& value) { m_keyGroupHasBeenSet = true; m_keyGroup = std::forward<KeyGroupT>(value); }
43 template<typename KeyGroupT = KeyGroup>
44 UpdateKeyGroup2020_05_31Result& WithKeyGroup(KeyGroupT&& value) { SetKeyGroup(std::forward<KeyGroupT>(value)); return *this;}
46
48
51 inline const Aws::String& GetETag() const { return m_eTag; }
52 template<typename ETagT = Aws::String>
53 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
54 template<typename ETagT = Aws::String>
55 UpdateKeyGroup2020_05_31Result& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 UpdateKeyGroup2020_05_31Result& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 KeyGroup m_keyGroup;
69 bool m_keyGroupHasBeenSet = false;
70
71 Aws::String m_eTag;
72 bool m_eTagHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CloudFront
80} // namespace Aws
UpdateKeyGroup2020_05_31Result & WithKeyGroup(KeyGroupT &&value)
UpdateKeyGroup2020_05_31Result & WithRequestId(RequestIdT &&value)
AWS_CLOUDFRONT_API UpdateKeyGroup2020_05_31Result()=default
AWS_CLOUDFRONT_API UpdateKeyGroup2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFRONT_API UpdateKeyGroup2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateKeyGroup2020_05_31Result & WithETag(ETagT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument