AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetPublicKeyConfig(const PublicKeyConfig& value) { m_publicKeyConfigHasBeenSet = true; m_publicKeyConfig = value; }
45 inline void SetPublicKeyConfig(PublicKeyConfig&& value) { m_publicKeyConfigHasBeenSet = true; m_publicKeyConfig = std::move(value); }
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
59 inline UpdatePublicKey2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
60 inline UpdatePublicKey2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
61 inline UpdatePublicKey2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
63
65
69 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
70 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
71 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
72 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
73 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
74 inline UpdatePublicKey2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
75 inline UpdatePublicKey2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
76 inline UpdatePublicKey2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
78 private:
79
80 PublicKeyConfig m_publicKeyConfig;
81 bool m_publicKeyConfigHasBeenSet = false;
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::String m_ifMatch;
87 bool m_ifMatchHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CloudFront
92} // namespace Aws
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdatePublicKey2020_05_31Request & WithPublicKeyConfig(const PublicKeyConfig &value)
UpdatePublicKey2020_05_31Request & WithId(Aws::String &&value)
UpdatePublicKey2020_05_31Request & WithIfMatch(const Aws::String &value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
UpdatePublicKey2020_05_31Request & WithIfMatch(const char *value)
UpdatePublicKey2020_05_31Request & WithId(const char *value)
UpdatePublicKey2020_05_31Request & WithIfMatch(Aws::String &&value)
UpdatePublicKey2020_05_31Request & WithPublicKeyConfig(PublicKeyConfig &&value)
UpdatePublicKey2020_05_31Request & WithId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String