AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetApplicationGrantRequest.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/GrantType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSOAdmin
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSOADMIN_API GetApplicationGrantRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetApplicationGrant"; }
32
33 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
43 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
44 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
45 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
46 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
47 inline GetApplicationGrantRequest& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
48 inline GetApplicationGrantRequest& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
49 inline GetApplicationGrantRequest& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
51
53
56 inline const GrantType& GetGrantType() const{ return m_grantType; }
57 inline bool GrantTypeHasBeenSet() const { return m_grantTypeHasBeenSet; }
58 inline void SetGrantType(const GrantType& value) { m_grantTypeHasBeenSet = true; m_grantType = value; }
59 inline void SetGrantType(GrantType&& value) { m_grantTypeHasBeenSet = true; m_grantType = std::move(value); }
60 inline GetApplicationGrantRequest& WithGrantType(const GrantType& value) { SetGrantType(value); return *this;}
61 inline GetApplicationGrantRequest& WithGrantType(GrantType&& value) { SetGrantType(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_applicationArn;
66 bool m_applicationArnHasBeenSet = false;
67
68 GrantType m_grantType;
69 bool m_grantTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SSOAdmin
74} // namespace Aws
GetApplicationGrantRequest & WithApplicationArn(const char *value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetApplicationGrantRequest & WithGrantType(GrantType &&value)
GetApplicationGrantRequest & WithApplicationArn(const Aws::String &value)
AWS_SSOADMIN_API Aws::String SerializePayload() const override
GetApplicationGrantRequest & WithGrantType(const GrantType &value)
virtual const char * GetServiceRequestName() const override
GetApplicationGrantRequest & WithApplicationArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String