AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ConnectAppAuthorizationRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabricRequest.h>
8#include <aws/appfabric/AppFabric_EXPORTS.h>
9#include <aws/appfabric/model/AuthRequest.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppFabric {
16namespace Model {
17
21 public:
22 AWS_APPFABRIC_API ConnectAppAuthorizationRequest() = 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 "ConnectAppAuthorization"; }
29
30 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
38 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
39 template <typename AppBundleIdentifierT = Aws::String>
40 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) {
41 m_appBundleIdentifierHasBeenSet = true;
42 m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value);
43 }
44 template <typename AppBundleIdentifierT = Aws::String>
46 SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetAppAuthorizationIdentifier() const { return m_appAuthorizationIdentifier; }
57 inline bool AppAuthorizationIdentifierHasBeenSet() const { return m_appAuthorizationIdentifierHasBeenSet; }
58 template <typename AppAuthorizationIdentifierT = Aws::String>
59 void SetAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) {
60 m_appAuthorizationIdentifierHasBeenSet = true;
61 m_appAuthorizationIdentifier = std::forward<AppAuthorizationIdentifierT>(value);
62 }
63 template <typename AppAuthorizationIdentifierT = Aws::String>
64 ConnectAppAuthorizationRequest& WithAppAuthorizationIdentifier(AppAuthorizationIdentifierT&& value) {
65 SetAppAuthorizationIdentifier(std::forward<AppAuthorizationIdentifierT>(value));
66 return *this;
67 }
69
71
76 inline const AuthRequest& GetAuthRequest() const { return m_authRequest; }
77 inline bool AuthRequestHasBeenSet() const { return m_authRequestHasBeenSet; }
78 template <typename AuthRequestT = AuthRequest>
79 void SetAuthRequest(AuthRequestT&& value) {
80 m_authRequestHasBeenSet = true;
81 m_authRequest = std::forward<AuthRequestT>(value);
82 }
83 template <typename AuthRequestT = AuthRequest>
85 SetAuthRequest(std::forward<AuthRequestT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_appBundleIdentifier;
91
92 Aws::String m_appAuthorizationIdentifier;
93
94 AuthRequest m_authRequest;
95 bool m_appBundleIdentifierHasBeenSet = false;
96 bool m_appAuthorizationIdentifierHasBeenSet = false;
97 bool m_authRequestHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AppFabric
102} // namespace Aws
ConnectAppAuthorizationRequest & WithAuthRequest(AuthRequestT &&value)
ConnectAppAuthorizationRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
void SetAppAuthorizationIdentifier(AppAuthorizationIdentifierT &&value)
ConnectAppAuthorizationRequest & WithAppAuthorizationIdentifier(AppAuthorizationIdentifierT &&value)
AWS_APPFABRIC_API ConnectAppAuthorizationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String