AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
IamResources.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTFleetWise {
20namespace Model {
21
32 public:
33 AWS_IOTFLEETWISE_API IamResources() = default;
34 AWS_IOTFLEETWISE_API IamResources(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTFLEETWISE_API IamResources& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
45 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
46 template <typename RoleArnT = Aws::String>
47 void SetRoleArn(RoleArnT&& value) {
48 m_roleArnHasBeenSet = true;
49 m_roleArn = std::forward<RoleArnT>(value);
50 }
51 template <typename RoleArnT = Aws::String>
52 IamResources& WithRoleArn(RoleArnT&& value) {
53 SetRoleArn(std::forward<RoleArnT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_roleArn;
59 bool m_roleArnHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace IoTFleetWise
64} // namespace Aws
AWS_IOTFLEETWISE_API IamResources(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleArn() const
IamResources & WithRoleArn(RoleArnT &&value)
AWS_IOTFLEETWISE_API IamResources & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API IamResources()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue