AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectionRequest.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/CloudWatchEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/events/model/ConnectionAuthorizationType.h>
11#include <aws/events/model/UpdateConnectionAuthRequestParameters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudWatchEvents
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDWATCHEVENTS_API UpdateConnectionRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateConnection"; }
33
34 AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override;
35
36 AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
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 UpdateConnectionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline UpdateConnectionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline UpdateConnectionRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline UpdateConnectionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline UpdateConnectionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateConnectionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const ConnectionAuthorizationType& GetAuthorizationType() const{ return m_authorizationType; }
72 inline bool AuthorizationTypeHasBeenSet() const { return m_authorizationTypeHasBeenSet; }
73 inline void SetAuthorizationType(const ConnectionAuthorizationType& value) { m_authorizationTypeHasBeenSet = true; m_authorizationType = value; }
74 inline void SetAuthorizationType(ConnectionAuthorizationType&& value) { m_authorizationTypeHasBeenSet = true; m_authorizationType = std::move(value); }
78
80
83 inline const UpdateConnectionAuthRequestParameters& GetAuthParameters() const{ return m_authParameters; }
84 inline bool AuthParametersHasBeenSet() const { return m_authParametersHasBeenSet; }
85 inline void SetAuthParameters(const UpdateConnectionAuthRequestParameters& value) { m_authParametersHasBeenSet = true; m_authParameters = value; }
86 inline void SetAuthParameters(UpdateConnectionAuthRequestParameters&& value) { m_authParametersHasBeenSet = true; m_authParameters = std::move(value); }
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::String m_description;
96 bool m_descriptionHasBeenSet = false;
97
98 ConnectionAuthorizationType m_authorizationType;
99 bool m_authorizationTypeHasBeenSet = false;
100
102 bool m_authParametersHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CloudWatchEvents
107} // namespace Aws
UpdateConnectionRequest & WithAuthorizationType(const ConnectionAuthorizationType &value)
UpdateConnectionRequest & WithDescription(const Aws::String &value)
void SetAuthParameters(UpdateConnectionAuthRequestParameters &&value)
void SetAuthorizationType(const ConnectionAuthorizationType &value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
UpdateConnectionRequest & WithName(Aws::String &&value)
UpdateConnectionRequest & WithAuthParameters(UpdateConnectionAuthRequestParameters &&value)
UpdateConnectionRequest & WithDescription(Aws::String &&value)
const ConnectionAuthorizationType & GetAuthorizationType() const
void SetAuthParameters(const UpdateConnectionAuthRequestParameters &value)
const UpdateConnectionAuthRequestParameters & GetAuthParameters() const
UpdateConnectionRequest & WithName(const Aws::String &value)
UpdateConnectionRequest & WithDescription(const char *value)
void SetAuthorizationType(ConnectionAuthorizationType &&value)
UpdateConnectionRequest & WithAuthorizationType(ConnectionAuthorizationType &&value)
UpdateConnectionRequest & WithAuthParameters(const UpdateConnectionAuthRequestParameters &value)
UpdateConnectionRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String