AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateCollaborationRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/AnalyticsEngine.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CleanRooms {
16namespace Model {
17
21 public:
22 AWS_CLEANROOMS_API UpdateCollaborationRequest() = 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 "UpdateCollaboration"; }
29
30 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetCollaborationIdentifier() const { return m_collaborationIdentifier; }
37 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
38 template <typename CollaborationIdentifierT = Aws::String>
39 void SetCollaborationIdentifier(CollaborationIdentifierT&& value) {
40 m_collaborationIdentifierHasBeenSet = true;
41 m_collaborationIdentifier = std::forward<CollaborationIdentifierT>(value);
42 }
43 template <typename CollaborationIdentifierT = Aws::String>
44 UpdateCollaborationRequest& WithCollaborationIdentifier(CollaborationIdentifierT&& value) {
45 SetCollaborationIdentifier(std::forward<CollaborationIdentifierT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
92 inline AnalyticsEngine GetAnalyticsEngine() const { return m_analyticsEngine; }
93 inline bool AnalyticsEngineHasBeenSet() const { return m_analyticsEngineHasBeenSet; }
95 m_analyticsEngineHasBeenSet = true;
96 m_analyticsEngine = value;
97 }
99 SetAnalyticsEngine(value);
100 return *this;
101 }
103 private:
104 Aws::String m_collaborationIdentifier;
105
106 Aws::String m_name;
107
108 Aws::String m_description;
109
110 AnalyticsEngine m_analyticsEngine{AnalyticsEngine::NOT_SET};
111 bool m_collaborationIdentifierHasBeenSet = false;
112 bool m_nameHasBeenSet = false;
113 bool m_descriptionHasBeenSet = false;
114 bool m_analyticsEngineHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace CleanRooms
119} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateCollaborationRequest & WithAnalyticsEngine(AnalyticsEngine value)
AWS_CLEANROOMS_API UpdateCollaborationRequest()=default
UpdateCollaborationRequest & WithName(NameT &&value)
UpdateCollaborationRequest & WithDescription(DescriptionT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
void SetCollaborationIdentifier(CollaborationIdentifierT &&value)
UpdateCollaborationRequest & WithCollaborationIdentifier(CollaborationIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String