AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline UpdateDocumentMetadataRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline UpdateDocumentMetadataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline UpdateDocumentMetadataRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
58 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
59 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
60 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
61 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
63 inline UpdateDocumentMetadataRequest& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
64 inline UpdateDocumentMetadataRequest& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
66
68
71 inline const DocumentReviews& GetDocumentReviews() const{ return m_documentReviews; }
72 inline bool DocumentReviewsHasBeenSet() const { return m_documentReviewsHasBeenSet; }
73 inline void SetDocumentReviews(const DocumentReviews& value) { m_documentReviewsHasBeenSet = true; m_documentReviews = value; }
74 inline void SetDocumentReviews(DocumentReviews&& value) { m_documentReviewsHasBeenSet = true; m_documentReviews = std::move(value); }
76 inline UpdateDocumentMetadataRequest& WithDocumentReviews(DocumentReviews&& value) { SetDocumentReviews(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
83 Aws::String m_documentVersion;
84 bool m_documentVersionHasBeenSet = false;
85
86 DocumentReviews m_documentReviews;
87 bool m_documentReviewsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SSM
92} // namespace Aws
UpdateDocumentMetadataRequest & WithName(const Aws::String &value)
UpdateDocumentMetadataRequest & WithDocumentReviews(const DocumentReviews &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDocumentMetadataRequest & WithName(const char *value)
UpdateDocumentMetadataRequest & WithDocumentVersion(Aws::String &&value)
UpdateDocumentMetadataRequest & WithDocumentVersion(const Aws::String &value)
UpdateDocumentMetadataRequest & WithDocumentVersion(const char *value)
UpdateDocumentMetadataRequest & WithName(Aws::String &&value)
UpdateDocumentMetadataRequest & WithDocumentReviews(DocumentReviews &&value)
virtual const char * GetServiceRequestName() const override
AWS_SSM_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