AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
OciIamRole.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/OciAwsIntegration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
31 public:
32 AWS_ODB_API OciIamRole() = default;
33 AWS_ODB_API OciIamRole(Aws::Utils::Json::JsonView jsonValue);
36
38
42 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
43 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
44 template <typename IamRoleArnT = Aws::String>
45 void SetIamRoleArn(IamRoleArnT&& value) {
46 m_iamRoleArnHasBeenSet = true;
47 m_iamRoleArn = std::forward<IamRoleArnT>(value);
48 }
49 template <typename IamRoleArnT = Aws::String>
50 OciIamRole& WithIamRoleArn(IamRoleArnT&& value) {
51 SetIamRoleArn(std::forward<IamRoleArnT>(value));
52 return *this;
53 }
55
57
61 inline OciAwsIntegration GetAwsIntegration() const { return m_awsIntegration; }
62 inline bool AwsIntegrationHasBeenSet() const { return m_awsIntegrationHasBeenSet; }
64 m_awsIntegrationHasBeenSet = true;
65 m_awsIntegration = value;
66 }
68 SetAwsIntegration(value);
69 return *this;
70 }
72 private:
73 Aws::String m_iamRoleArn;
74
76 bool m_iamRoleArnHasBeenSet = false;
77 bool m_awsIntegrationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace odb
82} // namespace Aws
const Aws::String & GetIamRoleArn() const
Definition OciIamRole.h:42
void SetAwsIntegration(OciAwsIntegration value)
Definition OciIamRole.h:63
bool AwsIntegrationHasBeenSet() const
Definition OciIamRole.h:62
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ODB_API OciIamRole(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API OciIamRole()=default
OciAwsIntegration GetAwsIntegration() const
Definition OciIamRole.h:61
bool IamRoleArnHasBeenSet() const
Definition OciIamRole.h:43
void SetIamRoleArn(IamRoleArnT &&value)
Definition OciIamRole.h:45
OciIamRole & WithAwsIntegration(OciAwsIntegration value)
Definition OciIamRole.h:67
OciIamRole & WithIamRoleArn(IamRoleArnT &&value)
Definition OciIamRole.h:50
AWS_ODB_API OciIamRole & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue