AWS SDK for C++

AWS SDK for C++ Version 1.11.902

Loading...
Searching...
No Matches
DelegatedAdminConstraint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LaunchWizard {
20namespace Model {
21
29 public:
30 AWS_LAUNCHWIZARD_API DelegatedAdminConstraint() = default;
33 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetServicePrincipal() const { return m_servicePrincipal; }
42 inline bool ServicePrincipalHasBeenSet() const { return m_servicePrincipalHasBeenSet; }
43 template <typename ServicePrincipalT = Aws::String>
44 void SetServicePrincipal(ServicePrincipalT&& value) {
45 m_servicePrincipalHasBeenSet = true;
46 m_servicePrincipal = std::forward<ServicePrincipalT>(value);
47 }
48 template <typename ServicePrincipalT = Aws::String>
49 DelegatedAdminConstraint& WithServicePrincipal(ServicePrincipalT&& value) {
50 SetServicePrincipal(std::forward<ServicePrincipalT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_servicePrincipal;
56 bool m_servicePrincipalHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace LaunchWizard
61} // namespace Aws
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAUNCHWIZARD_API DelegatedAdminConstraint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAUNCHWIZARD_API DelegatedAdminConstraint(Aws::Utils::Json::JsonView jsonValue)
AWS_LAUNCHWIZARD_API DelegatedAdminConstraint()=default
DelegatedAdminConstraint & WithServicePrincipal(ServicePrincipalT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue