AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttachedPermissionsBoundary.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/iam/model/PermissionsBoundaryAttachmentType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace IAM
23{
24namespace Model
25{
26
39 {
40 public:
44
45 AWS_IAM_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_IAM_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
55 inline const PermissionsBoundaryAttachmentType& GetPermissionsBoundaryType() const{ return m_permissionsBoundaryType; }
56 inline bool PermissionsBoundaryTypeHasBeenSet() const { return m_permissionsBoundaryTypeHasBeenSet; }
57 inline void SetPermissionsBoundaryType(const PermissionsBoundaryAttachmentType& value) { m_permissionsBoundaryTypeHasBeenSet = true; m_permissionsBoundaryType = value; }
58 inline void SetPermissionsBoundaryType(PermissionsBoundaryAttachmentType&& value) { m_permissionsBoundaryTypeHasBeenSet = true; m_permissionsBoundaryType = std::move(value); }
62
64
68 inline const Aws::String& GetPermissionsBoundaryArn() const{ return m_permissionsBoundaryArn; }
69 inline bool PermissionsBoundaryArnHasBeenSet() const { return m_permissionsBoundaryArnHasBeenSet; }
70 inline void SetPermissionsBoundaryArn(const Aws::String& value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn = value; }
71 inline void SetPermissionsBoundaryArn(Aws::String&& value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn = std::move(value); }
72 inline void SetPermissionsBoundaryArn(const char* value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn.assign(value); }
75 inline AttachedPermissionsBoundary& WithPermissionsBoundaryArn(const char* value) { SetPermissionsBoundaryArn(value); return *this;}
77 private:
78
79 PermissionsBoundaryAttachmentType m_permissionsBoundaryType;
80 bool m_permissionsBoundaryTypeHasBeenSet = false;
81
82 Aws::String m_permissionsBoundaryArn;
83 bool m_permissionsBoundaryArnHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace IAM
88} // namespace Aws
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AttachedPermissionsBoundary & WithPermissionsBoundaryArn(const Aws::String &value)
AttachedPermissionsBoundary & WithPermissionsBoundaryArn(const char *value)
AWS_IAM_API AttachedPermissionsBoundary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const PermissionsBoundaryAttachmentType & GetPermissionsBoundaryType() const
AttachedPermissionsBoundary & WithPermissionsBoundaryType(const PermissionsBoundaryAttachmentType &value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AttachedPermissionsBoundary & WithPermissionsBoundaryArn(Aws::String &&value)
AttachedPermissionsBoundary & WithPermissionsBoundaryType(PermissionsBoundaryAttachmentType &&value)
void SetPermissionsBoundaryType(const PermissionsBoundaryAttachmentType &value)
AWS_IAM_API AttachedPermissionsBoundary(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPermissionsBoundaryType(PermissionsBoundaryAttachmentType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream