AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActiveDirectoryBackupAttributes.h
1
6#pragma once
7#include <aws/fsx/FSx_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 FSx
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
46 inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
49 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
51 inline ActiveDirectoryBackupAttributes& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline ActiveDirectoryBackupAttributes& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline ActiveDirectoryBackupAttributes& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
61 inline const Aws::String& GetActiveDirectoryId() const{ return m_activeDirectoryId; }
62 inline bool ActiveDirectoryIdHasBeenSet() const { return m_activeDirectoryIdHasBeenSet; }
63 inline void SetActiveDirectoryId(const Aws::String& value) { m_activeDirectoryIdHasBeenSet = true; m_activeDirectoryId = value; }
64 inline void SetActiveDirectoryId(Aws::String&& value) { m_activeDirectoryIdHasBeenSet = true; m_activeDirectoryId = std::move(value); }
65 inline void SetActiveDirectoryId(const char* value) { m_activeDirectoryIdHasBeenSet = true; m_activeDirectoryId.assign(value); }
68 inline ActiveDirectoryBackupAttributes& WithActiveDirectoryId(const char* value) { SetActiveDirectoryId(value); return *this;}
70
72
73 inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
74 inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
75 inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
76 inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
77 inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
78 inline ActiveDirectoryBackupAttributes& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
79 inline ActiveDirectoryBackupAttributes& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
80 inline ActiveDirectoryBackupAttributes& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
82 private:
83
84 Aws::String m_domainName;
85 bool m_domainNameHasBeenSet = false;
86
87 Aws::String m_activeDirectoryId;
88 bool m_activeDirectoryIdHasBeenSet = false;
89
90 Aws::String m_resourceARN;
91 bool m_resourceARNHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace FSx
96} // namespace Aws
ActiveDirectoryBackupAttributes & WithResourceARN(const char *value)
AWS_FSX_API ActiveDirectoryBackupAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API ActiveDirectoryBackupAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ActiveDirectoryBackupAttributes & WithDomainName(Aws::String &&value)
ActiveDirectoryBackupAttributes & WithDomainName(const Aws::String &value)
ActiveDirectoryBackupAttributes & WithActiveDirectoryId(const Aws::String &value)
ActiveDirectoryBackupAttributes & WithResourceARN(Aws::String &&value)
ActiveDirectoryBackupAttributes & WithResourceARN(const Aws::String &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
ActiveDirectoryBackupAttributes & WithActiveDirectoryId(Aws::String &&value)
ActiveDirectoryBackupAttributes & WithDomainName(const char *value)
ActiveDirectoryBackupAttributes & WithActiveDirectoryId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue