AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ValidityTerm.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
28 public:
29 AWS_BEDROCK_API ValidityTerm() = default;
32 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAgreementDuration() const { return m_agreementDuration; }
39 inline bool AgreementDurationHasBeenSet() const { return m_agreementDurationHasBeenSet; }
40 template <typename AgreementDurationT = Aws::String>
42 m_agreementDurationHasBeenSet = true;
43 m_agreementDuration = std::forward<AgreementDurationT>(value);
44 }
45 template <typename AgreementDurationT = Aws::String>
47 SetAgreementDuration(std::forward<AgreementDurationT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_agreementDuration;
53 bool m_agreementDurationHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Bedrock
58} // namespace Aws
AWS_BEDROCK_API ValidityTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ValidityTerm & WithAgreementDuration(AgreementDurationT &&value)
AWS_BEDROCK_API ValidityTerm()=default
void SetAgreementDuration(AgreementDurationT &&value)
const Aws::String & GetAgreementDuration() const
AWS_BEDROCK_API ValidityTerm(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue