AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateKeyGroup2020_05_31Request.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/CloudFrontRequest.h>
9#include <aws/cloudfront/model/KeyGroupConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFront
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDFRONT_API UpdateKeyGroup2020_05_31Request() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateKeyGroup"; }
32
33 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const KeyGroupConfig& GetKeyGroupConfig() const { return m_keyGroupConfig; }
43 inline bool KeyGroupConfigHasBeenSet() const { return m_keyGroupConfigHasBeenSet; }
44 template<typename KeyGroupConfigT = KeyGroupConfig>
45 void SetKeyGroupConfig(KeyGroupConfigT&& value) { m_keyGroupConfigHasBeenSet = true; m_keyGroupConfig = std::forward<KeyGroupConfigT>(value); }
46 template<typename KeyGroupConfigT = KeyGroupConfig>
47 UpdateKeyGroup2020_05_31Request& WithKeyGroupConfig(KeyGroupConfigT&& value) { SetKeyGroupConfig(std::forward<KeyGroupConfigT>(value)); return *this;}
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 template<typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
58 template<typename IdT = Aws::String>
59 UpdateKeyGroup2020_05_31Request& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
61
63
67 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
68 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
69 template<typename IfMatchT = Aws::String>
70 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::forward<IfMatchT>(value); }
71 template<typename IfMatchT = Aws::String>
72 UpdateKeyGroup2020_05_31Request& WithIfMatch(IfMatchT&& value) { SetIfMatch(std::forward<IfMatchT>(value)); return *this;}
74 private:
75
76 KeyGroupConfig m_keyGroupConfig;
77 bool m_keyGroupConfigHasBeenSet = false;
78
79 Aws::String m_id;
80 bool m_idHasBeenSet = false;
81
82 Aws::String m_ifMatch;
83 bool m_ifMatchHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace CloudFront
88} // namespace Aws
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateKeyGroup2020_05_31Request & WithKeyGroupConfig(KeyGroupConfigT &&value)
AWS_CLOUDFRONT_API UpdateKeyGroup2020_05_31Request()=default
UpdateKeyGroup2020_05_31Request & WithIfMatch(IfMatchT &&value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String