AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShareAttributes.h
1
6#pragma once
7#include <aws/batch/Batch_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 Batch
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_BATCH_API ShareAttributes();
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const Aws::String& GetShareIdentifier() const{ return m_shareIdentifier; }
55 inline bool ShareIdentifierHasBeenSet() const { return m_shareIdentifierHasBeenSet; }
56 inline void SetShareIdentifier(const Aws::String& value) { m_shareIdentifierHasBeenSet = true; m_shareIdentifier = value; }
57 inline void SetShareIdentifier(Aws::String&& value) { m_shareIdentifierHasBeenSet = true; m_shareIdentifier = std::move(value); }
58 inline void SetShareIdentifier(const char* value) { m_shareIdentifierHasBeenSet = true; m_shareIdentifier.assign(value); }
59 inline ShareAttributes& WithShareIdentifier(const Aws::String& value) { SetShareIdentifier(value); return *this;}
60 inline ShareAttributes& WithShareIdentifier(Aws::String&& value) { SetShareIdentifier(std::move(value)); return *this;}
61 inline ShareAttributes& WithShareIdentifier(const char* value) { SetShareIdentifier(value); return *this;}
63
65
73 inline double GetWeightFactor() const{ return m_weightFactor; }
74 inline bool WeightFactorHasBeenSet() const { return m_weightFactorHasBeenSet; }
75 inline void SetWeightFactor(double value) { m_weightFactorHasBeenSet = true; m_weightFactor = value; }
76 inline ShareAttributes& WithWeightFactor(double value) { SetWeightFactor(value); return *this;}
78 private:
79
80 Aws::String m_shareIdentifier;
81 bool m_shareIdentifierHasBeenSet = false;
82
83 double m_weightFactor;
84 bool m_weightFactorHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Batch
89} // namespace Aws
void SetShareIdentifier(const Aws::String &value)
ShareAttributes & WithShareIdentifier(const Aws::String &value)
void SetShareIdentifier(const char *value)
ShareAttributes & WithShareIdentifier(const char *value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetShareIdentifier() const
AWS_BATCH_API ShareAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetShareIdentifier(Aws::String &&value)
ShareAttributes & WithShareIdentifier(Aws::String &&value)
AWS_BATCH_API ShareAttributes(Aws::Utils::Json::JsonView jsonValue)
ShareAttributes & WithWeightFactor(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue