AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateDocumentMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/DocumentReviews.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SSM {
16namespace Model {
17
21 public:
22 AWS_SSM_API UpdateDocumentMetadataRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDocumentMetadata"; }
29
30 AWS_SSM_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
58 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
59 template <typename DocumentVersionT = Aws::String>
60 void SetDocumentVersion(DocumentVersionT&& value) {
61 m_documentVersionHasBeenSet = true;
62 m_documentVersion = std::forward<DocumentVersionT>(value);
63 }
64 template <typename DocumentVersionT = Aws::String>
66 SetDocumentVersion(std::forward<DocumentVersionT>(value));
67 return *this;
68 }
70
72
75 inline const DocumentReviews& GetDocumentReviews() const { return m_documentReviews; }
76 inline bool DocumentReviewsHasBeenSet() const { return m_documentReviewsHasBeenSet; }
77 template <typename DocumentReviewsT = DocumentReviews>
78 void SetDocumentReviews(DocumentReviewsT&& value) {
79 m_documentReviewsHasBeenSet = true;
80 m_documentReviews = std::forward<DocumentReviewsT>(value);
81 }
82 template <typename DocumentReviewsT = DocumentReviews>
84 SetDocumentReviews(std::forward<DocumentReviewsT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_name;
90
91 Aws::String m_documentVersion;
92
93 DocumentReviews m_documentReviews;
94 bool m_nameHasBeenSet = false;
95 bool m_documentVersionHasBeenSet = false;
96 bool m_documentReviewsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SSM
101} // namespace Aws
UpdateDocumentMetadataRequest & WithDocumentVersion(DocumentVersionT &&value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDocumentMetadataRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SSM_API Aws::String SerializePayload() const override
UpdateDocumentMetadataRequest & WithDocumentReviews(DocumentReviewsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String