AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevokeRevisionRequest.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DataExchange
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DATAEXCHANGE_API RevokeRevisionRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RevokeRevision"; }
31
32 AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
40 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
41 inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
42 inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
43 inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
44 inline RevokeRevisionRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
45 inline RevokeRevisionRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
46 inline RevokeRevisionRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
48
50
53 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
54 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
55 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
56 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
57 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
58 inline RevokeRevisionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
59 inline RevokeRevisionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
60 inline RevokeRevisionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
62
64
68 inline const Aws::String& GetRevocationComment() const{ return m_revocationComment; }
69 inline bool RevocationCommentHasBeenSet() const { return m_revocationCommentHasBeenSet; }
70 inline void SetRevocationComment(const Aws::String& value) { m_revocationCommentHasBeenSet = true; m_revocationComment = value; }
71 inline void SetRevocationComment(Aws::String&& value) { m_revocationCommentHasBeenSet = true; m_revocationComment = std::move(value); }
72 inline void SetRevocationComment(const char* value) { m_revocationCommentHasBeenSet = true; m_revocationComment.assign(value); }
73 inline RevokeRevisionRequest& WithRevocationComment(const Aws::String& value) { SetRevocationComment(value); return *this;}
74 inline RevokeRevisionRequest& WithRevocationComment(Aws::String&& value) { SetRevocationComment(std::move(value)); return *this;}
75 inline RevokeRevisionRequest& WithRevocationComment(const char* value) { SetRevocationComment(value); return *this;}
77 private:
78
79 Aws::String m_dataSetId;
80 bool m_dataSetIdHasBeenSet = false;
81
82 Aws::String m_revisionId;
83 bool m_revisionIdHasBeenSet = false;
84
85 Aws::String m_revocationComment;
86 bool m_revocationCommentHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DataExchange
91} // namespace Aws
RevokeRevisionRequest & WithDataSetId(const char *value)
RevokeRevisionRequest & WithRevisionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
RevokeRevisionRequest & WithRevocationComment(const Aws::String &value)
RevokeRevisionRequest & WithDataSetId(Aws::String &&value)
RevokeRevisionRequest & WithRevocationComment(const char *value)
RevokeRevisionRequest & WithRevisionId(Aws::String &&value)
RevokeRevisionRequest & WithDataSetId(const Aws::String &value)
RevokeRevisionRequest & WithRevocationComment(Aws::String &&value)
RevokeRevisionRequest & WithRevisionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String