AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PresignedUrlConfig.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API PresignedUrlConfig();
38
39
41
50 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
51 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
52 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
53 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
54 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
55 inline PresignedUrlConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
56 inline PresignedUrlConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
57 inline PresignedUrlConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
59
61
66 inline long long GetExpiresInSec() const{ return m_expiresInSec; }
67 inline bool ExpiresInSecHasBeenSet() const { return m_expiresInSecHasBeenSet; }
68 inline void SetExpiresInSec(long long value) { m_expiresInSecHasBeenSet = true; m_expiresInSec = value; }
69 inline PresignedUrlConfig& WithExpiresInSec(long long value) { SetExpiresInSec(value); return *this;}
71 private:
72
73 Aws::String m_roleArn;
74 bool m_roleArnHasBeenSet = false;
75
76 long long m_expiresInSec;
77 bool m_expiresInSecHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoT
82} // namespace Aws
void SetRoleArn(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API PresignedUrlConfig(Aws::Utils::Json::JsonView jsonValue)
PresignedUrlConfig & WithRoleArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
PresignedUrlConfig & WithExpiresInSec(long long value)
AWS_IOT_API PresignedUrlConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
PresignedUrlConfig & WithRoleArn(const Aws::String &value)
PresignedUrlConfig & WithRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue