AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AzureBlobSasConfiguration.h
1
6#pragma once
7#include <aws/datasync/DataSync_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 DataSync
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_DATASYNC_API AzureBlobSasConfiguration();
40 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetToken() const{ return m_token; }
53 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
54 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
55 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
56 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
57 inline AzureBlobSasConfiguration& WithToken(const Aws::String& value) { SetToken(value); return *this;}
58 inline AzureBlobSasConfiguration& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
59 inline AzureBlobSasConfiguration& WithToken(const char* value) { SetToken(value); return *this;}
61 private:
62
63 Aws::String m_token;
64 bool m_tokenHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace DataSync
69} // namespace Aws
AWS_DATASYNC_API AzureBlobSasConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AzureBlobSasConfiguration & WithToken(const Aws::String &value)
AWS_DATASYNC_API AzureBlobSasConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureBlobSasConfiguration & WithToken(const char *value)
AzureBlobSasConfiguration & WithToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue