AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
StartAuthorizationFlowRequest.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3Request.h>
8#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
9#include <aws/amplifygen3/model/GitProvider.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AmplifyGen3 {
16namespace Model {
17
21 public:
22 AWS_AMPLIFYGEN3_API StartAuthorizationFlowRequest() = 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 "StartAuthorizationFlow"; }
29
30 AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override;
31
33
36 inline GitProvider GetProvider() const { return m_provider; }
37 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
38 inline void SetProvider(GitProvider value) {
39 m_providerHasBeenSet = true;
40 m_provider = value;
41 }
43 SetProvider(value);
44 return *this;
45 }
47
49
53 inline const Aws::String& GetRedirectUrl() const { return m_redirectUrl; }
54 inline bool RedirectUrlHasBeenSet() const { return m_redirectUrlHasBeenSet; }
55 template <typename RedirectUrlT = Aws::String>
56 void SetRedirectUrl(RedirectUrlT&& value) {
57 m_redirectUrlHasBeenSet = true;
58 m_redirectUrl = std::forward<RedirectUrlT>(value);
59 }
60 template <typename RedirectUrlT = Aws::String>
62 SetRedirectUrl(std::forward<RedirectUrlT>(value));
63 return *this;
64 }
66 private:
68
69 Aws::String m_redirectUrl;
70 bool m_providerHasBeenSet = false;
71 bool m_redirectUrlHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace AmplifyGen3
76} // namespace Aws
StartAuthorizationFlowRequest & WithProvider(GitProvider value)
AWS_AMPLIFYGEN3_API StartAuthorizationFlowRequest()=default
AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override
StartAuthorizationFlowRequest & WithRedirectUrl(RedirectUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String