AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdatePublicKey2020_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/PublicKeyConfig.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 UpdatePublicKey2020_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 "UpdatePublicKey"; }
32
33 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const PublicKeyConfig& GetPublicKeyConfig() const { return m_publicKeyConfig; }
43 inline bool PublicKeyConfigHasBeenSet() const { return m_publicKeyConfigHasBeenSet; }
44 template<typename PublicKeyConfigT = PublicKeyConfig>
45 void SetPublicKeyConfig(PublicKeyConfigT&& value) { m_publicKeyConfigHasBeenSet = true; m_publicKeyConfig = std::forward<PublicKeyConfigT>(value); }
46 template<typename PublicKeyConfigT = PublicKeyConfig>
47 UpdatePublicKey2020_05_31Request& WithPublicKeyConfig(PublicKeyConfigT&& value) { SetPublicKeyConfig(std::forward<PublicKeyConfigT>(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 UpdatePublicKey2020_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 UpdatePublicKey2020_05_31Request& WithIfMatch(IfMatchT&& value) { SetIfMatch(std::forward<IfMatchT>(value)); return *this;}
74 private:
75
76 PublicKeyConfig m_publicKeyConfig;
77 bool m_publicKeyConfigHasBeenSet = 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
AWS_CLOUDFRONT_API UpdatePublicKey2020_05_31Request()=default
UpdatePublicKey2020_05_31Request & WithIfMatch(IfMatchT &&value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
UpdatePublicKey2020_05_31Request & WithPublicKeyConfig(PublicKeyConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String