AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RegisterConnectorV2Request.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SecurityHub {
15namespace Model {
16
20 public:
21 AWS_SECURITYHUB_API RegisterConnectorV2Request() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RegisterConnectorV2"; }
28
29 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetAuthCode() const { return m_authCode; }
37 inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; }
38 template <typename AuthCodeT = Aws::String>
39 void SetAuthCode(AuthCodeT&& value) {
40 m_authCodeHasBeenSet = true;
41 m_authCode = std::forward<AuthCodeT>(value);
42 }
43 template <typename AuthCodeT = Aws::String>
45 SetAuthCode(std::forward<AuthCodeT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetAuthState() const { return m_authState; }
56 inline bool AuthStateHasBeenSet() const { return m_authStateHasBeenSet; }
57 template <typename AuthStateT = Aws::String>
58 void SetAuthState(AuthStateT&& value) {
59 m_authStateHasBeenSet = true;
60 m_authState = std::forward<AuthStateT>(value);
61 }
62 template <typename AuthStateT = Aws::String>
64 SetAuthState(std::forward<AuthStateT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_authCode;
70
71 Aws::String m_authState;
72 bool m_authCodeHasBeenSet = false;
73 bool m_authStateHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
RegisterConnectorV2Request & WithAuthState(AuthStateT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
AWS_SECURITYHUB_API RegisterConnectorV2Request()=default
RegisterConnectorV2Request & WithAuthCode(AuthCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String