AWS SDK for C++

AWS SDK for C++ Version 1.11.553

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UpdateDocumentMetadataRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/DocumentReviews.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSM_API UpdateDocumentMetadataRequest() = 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 "UpdateDocumentMetadata"; }
32
33 AWS_SSM_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 UpdateDocumentMetadataRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
56 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
57 template<typename DocumentVersionT = Aws::String>
58 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::forward<DocumentVersionT>(value); }
59 template<typename DocumentVersionT = Aws::String>
60 UpdateDocumentMetadataRequest& WithDocumentVersion(DocumentVersionT&& value) { SetDocumentVersion(std::forward<DocumentVersionT>(value)); return *this;}
62
64
67 inline const DocumentReviews& GetDocumentReviews() const { return m_documentReviews; }
68 inline bool DocumentReviewsHasBeenSet() const { return m_documentReviewsHasBeenSet; }
69 template<typename DocumentReviewsT = DocumentReviews>
70 void SetDocumentReviews(DocumentReviewsT&& value) { m_documentReviewsHasBeenSet = true; m_documentReviews = std::forward<DocumentReviewsT>(value); }
71 template<typename DocumentReviewsT = DocumentReviews>
72 UpdateDocumentMetadataRequest& WithDocumentReviews(DocumentReviewsT&& value) { SetDocumentReviews(std::forward<DocumentReviewsT>(value)); return *this;}
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
79 Aws::String m_documentVersion;
80 bool m_documentVersionHasBeenSet = false;
81
82 DocumentReviews m_documentReviews;
83 bool m_documentReviewsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SSM
88} // 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