261 lines
7.7 KiB
C
261 lines
7.7 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/ivs/IVS_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace IVS
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A key pair used to sign and validate a playback authorization
|
|||
|
|
* token.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackKeyPair">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_IVS_API PlaybackKeyPair
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
PlaybackKeyPair();
|
|||
|
|
PlaybackKeyPair(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
PlaybackKeyPair& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithArn(const char* value) { SetArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair name.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithName(const char* value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetFingerprint() const{ return m_fingerprint; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool FingerprintHasBeenSet() const { return m_fingerprintHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFingerprint(const Aws::String& value) { m_fingerprintHasBeenSet = true; m_fingerprint = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFingerprint(Aws::String&& value) { m_fingerprintHasBeenSet = true; m_fingerprint = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFingerprint(const char* value) { m_fingerprintHasBeenSet = true; m_fingerprint.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithFingerprint(const Aws::String& value) { SetFingerprint(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithFingerprint(Aws::String&& value) { SetFingerprint(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Key-pair identifier.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithFingerprint(const char* value) { SetFingerprint(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Array of 1-50 maps, each of the form <code>string:string
|
|||
|
|
* (key:value)</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline PlaybackKeyPair& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_arn;
|
|||
|
|
bool m_arnHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_name;
|
|||
|
|
bool m_nameHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_fingerprint;
|
|||
|
|
bool m_fingerprintHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|||
|
|
bool m_tagsHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace IVS
|
|||
|
|
} // namespace Aws
|